WAComponentTest>>testChildrenNotCollectionError uses #should:raise:whoseDescriptionIncludes:description:...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

WAComponentTest>>testChildrenNotCollectionError uses #should:raise:whoseDescriptionIncludes:description:...

Dale Henrichs
which is an extension to the "standard" SUnit protocol...

Grease extensions for SUnit anyone?

Dale
_______________________________________________
seaside-dev mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
Reply | Threaded
Open this post in threaded view
|

Re: WAComponentTest>>testChildrenNotCollectionError uses #should:raise:whoseDescriptionIncludes:description:...

Lukas Renggli
I think the test should rather be rewritten to only use #assert: and
#should:raise:, we did that for other tests too.

Lukas

On 27 July 2010 23:09, Dale Henrichs <[hidden email]> wrote:

> which is an extension to the "standard" SUnit protocol...
>
> Grease extensions for SUnit anyone?
>
> Dale
> _______________________________________________
> seaside-dev mailing list
> [hidden email]
> http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
>



--
Lukas Renggli
www.lukas-renggli.ch
_______________________________________________
seaside-dev mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
Reply | Threaded
Open this post in threaded view
|

Re: WAComponentTest>>testChildrenNotCollectionError uses #should:raise:whoseDescriptionIncludes:description:...

Nick

On 27 July 2010 22:10, Lukas Renggli <[hidden email]> wrote:
I think the test should rather be rewritten to only use #assert: and
#should:raise:, we did that for other tests too.

Lukas


My mistake. I've fixed it in:


Name: Seaside-Tests-Component-NickAger.31
Author: NickAger
Time: 28 July 2010, 3:16:19 pm
UUID: d1215f53-5a5c-4475-905a-56a793b1b55d
Ancestors: Seaside-Tests-Component-NickAger.30

removed non-standard ansi SUnit protocol:
#should:raise:whoseDescriptionIncludes:description:

replaced with:
#should:raise:description:

for test:
WAComponentTest>>testChildrenNotCollectionError
 

_______________________________________________
seaside-dev mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev