The Trunk: CollectionsTests-ul.118.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-ul.118.mcz

commits-2
Andreas Raab uploaded a new version of CollectionsTests to project The Trunk:
http://source.squeak.org/trunk/CollectionsTests-ul.118.mcz

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

Name: CollectionsTests-ul.118
Author: ul
Time: 23 November 2009, 2:41:04 am
UUID: 090a8ffc-7f35-624a-a5af-16be41413980
Ancestors: CollectionsTests-dtl.117

- added a test for String >> #withInternetLineEndings

=============== Diff against CollectionsTests-dtl.117 ===============

Item was added:
+ ----- Method: StringTest>>testWithInternetLineEndings (in category 'testing - internet') -----
+ testWithInternetLineEndings
+
+ {
+ 'abc' -> 'abc'.
+ 'abc', String cr -> ('abc', String crlf).
+ 'abc', String lf -> ('abc', String crlf).
+ 'abc', String crlf -> ('abc', String crlf).
+ String cr, 'abc' -> (String crlf, 'abc').
+ String lf, 'abc' -> (String crlf, 'abc').
+ String crlf, 'abc' -> (String crlf, 'abc').
+ 'abc', String cr, String cr, 'abc' -> ('abc', String crlf, String crlf, 'abc').
+ 'abc', String lf, String lf, 'abc' -> ('abc', String crlf, String crlf, 'abc').
+ 'abc', String crlf, String crlf, 'abc' -> ('abc', String crlf, String crlf, 'abc').
+ String cr, 'abc', String cr, String crlf, 'abc', String lf -> (String crlf, 'abc', String crlf, String crlf, 'abc', String crlf).
+ String lf, 'abc', String lf, String crlf, 'abc', String cr -> (String crlf, 'abc', String crlf, String crlf, 'abc', String crlf).
+ } do: [ :each |
+ self assert: each key withInternetLineEndings = each value ]!