Nicolas Cellier uploaded a new version of Tests to project The Trunk: http://source.squeak.org/trunk/Tests-nice.447.mcz
==================== Summary ====================
Name: Tests-nice.447 Author: nice Time: 11 April 2021, 9:51:34.887822 pm UUID: 6c67ae13-0149-4816-ba0d-366139e50f4c Ancestors: Tests-nice.446
Add another Exception test: the outer signal handler will resignal an Exception handled by the inner signal handler: this should be caught and handled by the inner handler.
=============== Diff against Tests-nice.446 ===============
Item was changed: ----- Method: ExceptionTester>>basicTestSelectors (in category 'accessing') ----- basicTestSelectors + ^ #(#simpleEnsureTest #simpleEnsureTestWithNotification #simpleEnsureTestWithUparrow #simpleEnsureTestWithError #signalFromHandlerActionTest #resumableFallOffTheEndHandler #nonResumableFallOffTheEndHandler #doubleResumeTest #doubleResignalAsTest #simpleTimeoutWithZeroDurationTest #simpleTimeoutTest simpleNoTimeoutTest)! - ^ #(#simpleEnsureTest #simpleEnsureTestWithNotification #simpleEnsureTestWithUparrow #simpleEnsureTestWithError #signalFromHandlerActionTest #resumableFallOffTheEndHandler #nonResumableFallOffTheEndHandler #doubleResumeTest #simpleTimeoutWithZeroDurationTest #simpleTimeoutTest simpleNoTimeoutTest)!
Item was added: + ----- Method: ExceptionTester>>doubleResignalAsTest (in category 'tests') ----- + doubleResignalAsTest + "ExceptionTester new doubleResignalAsTest" + + [[self doSomething. + MyTestError signal. + self doSomethingElse] + on: MyTestNotification + do: [:ex | ex resume: self doYetAnotherThing]] + on: MyTestError + do: [:ex | ex resignalAs: MyTestNotification new]!
Item was added: + ----- Method: ExceptionTester>>doubleResignalAsTestResults (in category 'results') ----- + doubleResignalAsTestResults + + ^OrderedCollection new + add: self doSomethingString; + add: self doYetAnotherThingString; + add: self doSomethingElseString; + yourself!
Item was added: + ----- Method: ExceptionTests>>testDoubleResignalAs (in category 'tests - ExceptionTester') ----- + testDoubleResignalAs + self assertSuccess: (ExceptionTester new runTest: #doubleResignalAsTest ) !
squeak-dev@lists.squeakfoundation.org