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

commits-2
Levente Uzonyi uploaded a new version of CollectionsTests to project The Trunk:
http://source.squeak.org/trunk/CollectionsTests-ul.194.mcz

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

Name: CollectionsTests-ul.194
Author: ul
Time: 30 October 2012, 2:17:26.486 am
UUID: de2b8b9b-a96b-4d8e-bdf9-fdcc41fc4409
Ancestors: CollectionsTests-ul.193

Added a new, longer test string to StringTest >> #testBase64 which should fail if String >> #base64Encoded returns multi-line results.

=============== Diff against CollectionsTests-ul.193 ===============

Item was changed:
  ----- Method: StringTest>>testBase64 (in category 'tests - converting') -----
  testBase64
+
+ self
+ assert: 'SGVsbG8gV29ybGQ=' base64Decoded = 'Hello World';
+ assert: 'Hello World' base64Encoded = 'SGVsbG8gV29ybGQ=';
+ assert: (String new: 100 withAll: $x) base64Encoded  = 'eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eA=='!
- self assert: 'SGVsbG8gV29ybGQ=' base64Decoded = 'Hello World'.
- self assert: 'Hello World' base64Encoded = 'SGVsbG8gV29ybGQ='.!