ToolBuilderTests>>testGetButtonSideEffects seems to be wrong

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

ToolBuilderTests>>testGetButtonSideEffects seems to be wrong

cdelaunay
if you look at the code of ToolBuilderTests>>testGetButtonSideEffects:

  testGetButtonSideEffects
	self makeButton.
	queries := IdentitySet new.
	self changed: #testSignalWithNoDiscernableEffect.
	self expectedButtonSideEffects do:[:sym|
		self assert: (queries includes: sym). 
		queries remove: sym.
	]. ....

the variable queries is never fill in, therefore I don't understand how the assertion could pass. In pharo 1.2-12159  the test fail for the class MorphicToolBuilderTests for which 'expectedButtonSideEffects' return a non-empty collection (unlike ToolBuilderTests).

I opened an Issue: http://code.google.com/p/pharo/issues/detail?id=3038

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project