The Trunk: Tests-eem.158.mcz

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

The Trunk: Tests-eem.158.mcz

commits-2
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!