The Trunk: ToolBuilder-Kernel-ar.25.mcz

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

The Trunk: ToolBuilder-Kernel-ar.25.mcz

commits-2
Andreas Raab uploaded a new version of ToolBuilder-Kernel to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Kernel-ar.25.mcz

==================== Summary ====================

Name: ToolBuilder-Kernel-ar.25
Author: ar
Time: 15 December 2009, 3:10:07 am
UUID: ade917bf-05a0-0b4a-94a1-3de9ba276897
Ancestors: ToolBuilder-Kernel-jcg.24

Fix tests for side effects on button signals.

=============== Diff against ToolBuilder-Kernel-jcg.24 ===============

Item was added:
+ ----- Method: ToolBuilderTests>>expectedButtonSideEffects (in category 'support') -----
+ expectedButtonSideEffects
+ "side effect queries we expect to see on buttons"
+ ^#()!

Item was added:
+ ----- Method: ToolBuilderTests>>testGetButtonSideEffects (in category 'tests-button') -----
+ testGetButtonSideEffects
+ self makeButton.
+ queries := IdentitySet new.
+ self changed: #testSignalWithNoDiscernableEffect.
+ self expectedButtonSideEffects do:[:sym|
+ self assert: (queries includes: sym).
+ queries remove: sym.
+ ].
+ self assert: queries isEmpty.!

Item was removed:
- ----- Method: ToolBuilderTests>>testGetButtonSideEffectFree (in category 'tests-button') -----
- testGetButtonSideEffectFree
- self makeButton.
- queries := IdentitySet new.
- self changed: #testSignalWithNoDiscernableEffect.
- self assert: queries isEmpty.!