There was a good reason for the BooleanOrBlock convention, IIRC.  I wonder what it was?  Something about when the assert fails, you get more information in the debugger if you use a block.  Can anyone else remember the details.

 

    Andrew

 

 

 

From: pharo-users-bounces@lists.gforge.inria.fr [mailto:pharo-users-bounces@lists.gforge.inria.fr] On Behalf Of Anindya Haldar
Sent: 21 January 2011 07:00
To: A friendly place where any question about pharo is welcome
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.

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!