[Pharo-project] ToolBuilderTests>>testGetButtonSideEffects seems to be wrong

Cyrille Delaunay cy.delaunay at gmail.com
Fri Oct 1 10:36:14 EDT 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20101001/f4424cfe/attachment-0001.html>


More information about the Pharo-dev mailing list