Although I can see TestCase >> #assert:description: and #assert:description:resumable take aBooleanOrBlock as an argument. Isn't the boolean only argument expectation for #assert: kind of inconsistent with these? Regards, Anindya ________________________________ From: Stéphane Ducasse <stephane.ducasse@inria.fr> To: A friendly place where any question about pharo is welcome <pharo-users@lists.gforge.inria.fr> Sent: Fri, January 21, 2011 11:32:02 AM Subject: Re: [Pharo-users] Where do I find KeyedSet?
I also noticed that the TestCase >> assert: method has changed in Pharo 1.1.1 that it does **not** take a booleanOrBlock anymore, it always expects a boolean. This would make all tests using the assert: [... a block returning boolean here ...] style fail in Pharo 1.1.1. I am not sure this change is a deliberate design decision or a bug. Whatever it is, those tests will also have to be changed as part of the TestMock port for Pharo 1.1.1 in order for the suite to pass.
This is a deliberated change. Stef
Regards, Anindya
From: Anindya Haldar <anindya_haldar@yahoo.com> To: A friendly place where any question about pharo is welcome <pharo-users@lists.gforge.inria.fr> Sent: Thu, January 20, 2011 10:13:25 PM Subject: Re: [Pharo-users] Where do I find KeyedSet?
I am probably late to the discussions here, although as the author of the TestMock package I can assert that the unit tests for TestMock pass in my pharo 1.0 environment. I have not tried the Pharo 1.1.1; and from the discussions it looks like the package fails there because KeyedSet has been deprecated. I will take a note of this, and will look forward to add a fix and publish a new version once I upgrade my Pharo image.
Thanks a lot to everyone chiming in.
Regards, Anindya
From: Alex Schenkman <alex@schenkman.info> To: pharo-users@lists.gforge.inria.fr Sent: Fri, January 14, 2011 3:12:54 AM Subject: [Pharo-users] Where do I find KeyedSet?
Hi List,
I'm trying to use the TestMock package in a Pharo-1.1.1-OneClick image, and it uses KeyedSet. Where can I find this class? Is there any tool to lookup which package in SqueakSource contains a specific class?
Thanks in advance!