[Pkg] The Trunk: SUnit-ul.72.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Dec 4 03:21:12 UTC 2009


Levente Uzonyi uploaded a new version of SUnit to project The Trunk:
http://source.squeak.org/trunk/SUnit-ul.72.mcz

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

Name: SUnit-ul.72
Author: ul
Time: 4 December 2009, 3:49:32 am
UUID: d7af06fb-2952-0142-a41d-39b4547ded99
Ancestors: SUnit-ul.71

- speed up TestCase >> allTestSelectors

=============== Diff against SUnit-nice.70 ===============

Item was changed:
  ----- Method: TestCase class>>allTestSelectors (in category 'accessing') -----
  allTestSelectors
  
+ 	^(self allSelectors asArray select: [ :each | 
+ 		(each beginsWith: 'test') and: [ each numArgs isZero ] ]) sort
- 	^self allSelectors asSortedCollection asOrderedCollection select: [:each | 
- 		('test*' match: each) and: [each numArgs isZero]]
  			!



More information about the Packages mailing list