Nicolas Cellier uploaded a new version of Tests to project The Trunk:
http://source.squeak.org/trunk/Tests-jar.461.mcz==================== Summary ====================
Name: Tests-jar.461
Author: jar
Time: 2 May 2021, 2:51:16.847089 pm
UUID: 651bce1b-31e0-aa41-8178-47c312752c8b
Ancestors: Tests-nice.460
Test #outer in combination with #resignalAs
=============== Diff against Tests-nice.460 ===============
Item was added:
+ ----- Method: ExceptionTester>>doubleOuterResignalAsTest (in category 'tests') -----
+ doubleOuterResignalAsTest
+ "ExceptionTester new doubleOuterResignalAsTest"
+
+ [[self doSomething.
+ MyResumableTestError signal.
+ self doYetAnotherThing]
+ on: MyResumableTestError
+ do: [:ex | ex outer. self doSomethingExceptional]. self doSomethingElse]
+ on: MyResumableTestError
+ do: [:ex | ex resignalAs: MyTestNotification]
+ !
Item was added:
+ ----- Method: ExceptionTester>>doubleOuterResignalAsTestResults (in category 'tests') -----
+ doubleOuterResignalAsTestResults
+
+ ^OrderedCollection new
+ add: self doSomethingString;
+ add: self doYetAnotherThingString;
+ add: self doSomethingElseString;
+ yourself!
Item was added:
+ ----- Method: ExceptionTests>>testDoubleOuterResignalAs (in category 'tests - ExceptionTester') -----
+ testDoubleOuterResignalAs
+ self assertSuccess: (ExceptionTester new runTest: #doubleOuterResignalAsTest ) !