[squeak-dev] The Trunk: Tests-cwp.160.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Aug 17 21:03:12 UTC 2012


Colin Putney uploaded a new version of Tests to project The Trunk:
http://source.squeak.org/trunk/Tests-cwp.160.mcz

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

Name: Tests-cwp.160
Author: cwp
Time: 17 August 2012, 2:02:48.348 pm
UUID: 7f94a1f9-3176-43aa-aef1-05ce3b437125
Ancestors: Tests-cwp.159, Tests-eem.158

merge Tests-eem.158: 

Add a test that tests outer in the contex of an enclosing
handler, unlike testResumableOuter which tests
outer in the absence of an enclosing handler.

=============== Diff against Tests-cwp.159 ===============

Item was added:
+ ----- Method: ExceptionTests>>testOuter (in category 'testing-outer') -----
+ testOuter
+ 	| result |
+ 	result := [[Notification signal. #signal]
+ 					on: Notification
+ 					do: [:ex| ex outer. #inner]]
+ 				on: Notification
+ 				do: [:ex| #outer].
+ 	self assert: result = #outer!



More information about the Squeak-dev mailing list