[squeak-dev] The Trunk: Tests-eem.158.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Aug 17 03:42:04 UTC 2012


Eliot Miranda uploaded a new version of Tests to project The Trunk:
http://source.squeak.org/trunk/Tests-eem.158.mcz

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

Name: Tests-eem.158
Author: eem
Time: 16 August 2012, 8:41:31.717 pm
UUID: e5f89646-94d8-4b8f-b851-266fd720b7ec
Ancestors: Tests-cwp.157

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.157 ===============

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