The Trunk: CollectionsTests-nice.127.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: CollectionsTests-nice.127.mcz

commits-2
Nicolas Cellier uploaded a new version of CollectionsTests to project The Trunk:
http://source.squeak.org/trunk/CollectionsTests-nice.127.mcz

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

Name: CollectionsTests-nice.127
Author: nice
Time: 25 December 2009, 2:55:13 am
UUID: fb8b4c4c-e9cd-4515-88a1-357ea8fdf2d3
Ancestors: CollectionsTests-ul.126

Correct 2 typos in method name Occurance->Occurrence
Deprecate old findLastOccuranceOfString:startingAt:

=============== Diff against CollectionsTests-ul.126 ===============

Item was added:
+ ----- Method: StringTest>>testFindLastOccurenceOfStringStartingAt (in category 'testing') -----
+ testFindLastOccurenceOfStringStartingAt
+
+ self assert: ('Smalltalk' findLastOccurrenceOfString: 'al' startingAt: 2) = 7.
+ self assert: ('aaa' findLastOccurrenceOfString: 'aa' startingAt: 1) = 2.
+ self assert: ('Smalltalk' asWideString findLastOccurrenceOfString: 'al' startingAt: 2) = 7.
+ self assert: ('Smalltalk' asWideString findLastOccurrenceOfString: 'al' asWideString startingAt: 2) = 7.
+ self assert: (('Smalltalk' copyWith: 835 asCharacter) findLastOccurrenceOfString: 'al' asWideString startingAt: 2) = 7.!

Item was removed:
- ----- Method: StringTest>>testFindLastOccuranceOfStringStartingAt (in category 'tests - finding') -----
- testFindLastOccuranceOfStringStartingAt
-
- self assert: ('Smalltalk' findLastOccuranceOfString: 'al' startingAt: 2) = 7.
- self assert: ('aaa' findLastOccuranceOfString: 'aa' startingAt: 1) = 2.!