[ENH] Chronology-AnsiCompTests ( [er] Possible Bug )

tomkoenig at mindspring.com tomkoenig at mindspring.com
Wed Dec 31 18:51:58 CET 2003


Based on inspection only, I believe the following unchanged line:
	theNames remove: #TestViaMethodCall ifAbsent: [^ theNames].
now needs to read as
	theNames remove: #TestViaMethodCall ifAbsent: [^ theNames
asSortedCollection].	
Below is the comparison with the prior version.
	
gatherTestNames

	| theNames |
	theNames _ (TestCase allSubclasses collect: [:each | each name])
asOrderedCollection.
	theNames _ (TestCase allSubclasses collect: [:each | each name])
asSortedCollection.
	theNames remove: #TestViaMethodCall ifAbsent: [^ theNames].
	TestViaMethodCall addClassesTo: theNames.
	^ theNames asSortedCollection 
	Smalltalk at: #TestViaMethodCall ifPresent: [ :tvmc | tvmc
addClassesTo: theNames ].
	^ theNames


More information about the Squeak-harvest mailing list