[squeak-dev] The Trunk: SUnit-ct.139.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Mar 25 20:23:38 UTC 2022


Christoph Thiede uploaded a new version of SUnit to project The Trunk:
http://source.squeak.org/trunk/SUnit-ct.139.mcz

==================== Summary ====================

Name: SUnit-ct.139
Author: ct
Time: 25 March 2022, 9:23:33.263762 pm
UUID: d552e410-ecb2-2d4e-9321-afaf54e7bdcb
Ancestors: SUnit-ct.138

Deprecates #shouldFix:. See: http://lists.squeakfoundation.org/pipermail/squeak-dev/2022-January/218801.html

=============== Diff against SUnit-ct.138 ===============

Item was removed:
- ----- Method: SUnitExtensionsTest>>shouldFixTest (in category 'real tests') -----
- shouldFixTest
- 
- 	self shouldFix: [ Error signal: 'any kind of error' ]
- !

Item was removed:
- ----- Method: SUnitExtensionsTest>>testShouldFix (in category 'tests') -----
- testShouldFix
- 
- 	| testCase testResult  |
- 	
- 	testCase := self class selector: #shouldFixTest.
- 	testResult := testCase run.
- 	
- 	self assert: (testResult passed includes: testCase).
- 	self assert: testResult passed size=1.
- 	self assert: testResult failures isEmpty.
- 	self assert: testResult errors isEmpty.
- 	
- 	!

Item was removed:
- ----- Method: TestCase>>shouldFix: (in category 'asserting - extensions') -----
- shouldFix: aBlock 
- 
- 	^self should: aBlock raise: Exception!



More information about the Squeak-dev mailing list