[Pkg] The Trunk: CollectionsTests-ar.167.mcz
commits at source.squeak.org
commits at source.squeak.org
Thu Jul 15 23:34:21 UTC 2010
Andreas Raab uploaded a new version of CollectionsTests to project The Trunk:
http://source.squeak.org/trunk/CollectionsTests-ar.167.mcz
==================== Summary ====================
Name: CollectionsTests-ar.167
Author: ar
Time: 15 July 2010, 4:34:00.093 pm
UUID: fa8b5249-13dc-db48-8a5d-d1366b154357
Ancestors: CollectionsTests-ar.166
Oops, there was already a test for that.
=============== Diff against CollectionsTests-ar.166 ===============
Item was changed:
----- Method: StringTest>>testWithNoLineLongerThan (in category 'tests - converting') -----
testWithNoLineLongerThan
"self run: #testWithNoLineLongerThan"
self assert: ('Hello World' withNoLineLongerThan: 5) = ('Hello', String cr, 'World').
self shouldnt:[('Hello', String cr, String cr,'World') withNoLineLongerThan: 5] raise: Error.
+ self assert: ('Sample text to line break at some point' withNoLineLongerThan: 28)
+ = ('Sample text to line break', String cr, 'at some point').
+ self assert: ('Sample text', String cr, 'to line break', String cr, 'at some point' withNoLineLongerThan: 28)
+ = ('Sample text', String cr, 'to line break', String cr, 'at some point').
!
Item was removed:
- ----- Method: StringTest>>testWithNoLineLongerThanSimply (in category 'testing - lines') -----
- testWithNoLineLongerThanSimply
- "Simple tests for withNoLineLongerThan"
-
- self assert: ('Sample text to line break at some point' withNoLineLongerThan: 28)
- = 'Sample text to line break
- at some point'.
-
- self assert: ('Sample text
- to line break
- at some point' withNoLineLongerThan: 28)
- = 'Sample text
- to line break
- at some point'.
- !
More information about the Packages
mailing list