[squeak-dev] The Trunk: CollectionsTests-ul.194.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Dec 4 21:00:34 UTC 2012


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='.!



More information about the Squeak-dev mailing list