[squeak-dev] The Inbox: Tests-jar.461.mcz

commits at source.squeak.org commits at source.squeak.org
Sun May 2 12:51:18 UTC 2021


A new version of Tests was added to project The Inbox:
http://source.squeak.org/inbox/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 ) !



More information about the Squeak-dev mailing list