The Trunk: Tests-cwp.160.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-cwp.160.mcz

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