[squeak-dev] The Trunk: SUnit-lrnp.141.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Apr 27 13:30:09 UTC 2022


Marcel Taeumel uploaded a new version of SUnit to project The Trunk:
http://source.squeak.org/trunk/SUnit-lrnp.141.mcz

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

Name: SUnit-lrnp.141
Author: lrnp
Time: 18 April 2022, 5:11:59.064371 pm
UUID: 6655586c-b0c2-4f5c-8471-de2f11aca8cb
Ancestors: SUnit-lrnp.140

rename methods to be consistent with TestHistory

=============== Diff against SUnit-lrnp.140 ===============

Item was removed:
- ----- Method: TestCase class>>hasAnyFailures (in category 'testing') -----
- hasAnyFailures
- 
- 	^ (self lastRun at: #failures) isEmpty not!

Item was removed:
- ----- Method: TestCase class>>hasAnyIssues (in category 'testing') -----
- hasAnyIssues
- 
- 	^ self hasAnyFailures or: self hasRaisedAnyErrors!

Item was added:
+ ----- Method: TestCase class>>hasDefects (in category 'testing') -----
+ hasDefects
+ 
+ 	^ self hasFailures or: [self hasErrors]!

Item was added:
+ ----- Method: TestCase class>>hasErrors (in category 'testing') -----
+ hasErrors
+ 
+ 	^ (self lastRun at: #errors) isEmpty not!

Item was added:
+ ----- Method: TestCase class>>hasFailures (in category 'testing') -----
+ hasFailures
+ 
+ 	^ (self lastRun at: #failures) isEmpty not!

Item was removed:
- ----- Method: TestCase class>>hasRaisedAnyErrors (in category 'testing') -----
- hasRaisedAnyErrors
- 
- 	^ (self lastRun at: #errors) isEmpty not!



More information about the Squeak-dev mailing list