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

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

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

Name: CollectionsTests-ul.189
Author: ul
Time: 20 August 2012, 2:11:17.778 am
UUID: 83deb748-d268-a14e-87f4-c8c67a29bc09
Ancestors: CollectionsTests-ul.188

- a few more cases for String >> #unescapePercents

=============== Diff against CollectionsTests-ul.188 ===============

Item was changed:
  ----- Method: StringTest>>testUnescapePercents (in category 'tests - converting') -----
  testUnescapePercents
 
  #(
  '' ''
  'x' 'x'
  '+' ' '
  'x+' 'x '
  '+x' ' x'
  'x+x' 'x x'
  '%' '%'
  '%3' '%3'
  '%3C' '<'
  '%3C%' '%3C%'
  '%3C%3' '%3C%3'
  '%3C%3C' '<<'
+ '%0G' '%0G'
+ '%3C%0G' '%3C%0G'
+ '+%3' '+%3'
+ '%3C+%' '%3C+%'
+ '%3C%+' '%3C%+'
  '%3Cx%3E4%3C%2Fx%3E' '<x>4</x>'
  '!!@#$%25%5E&*()%7B%7D%5B%5D=:/;?+''%22' '!!@#$%^&*(){}[]=:/;? ''"'
  '!!%40%23%24%25%5E%26*()%7B%7D%5B%5D%3D%3A%2F%3B%3F%2B''%22' '!!@#$%^&*(){}[]=:/;?+''"'
  '%21@%23%24%25%5E%26*%28%29%7B%7D%5B%5D%3D%3A/%3B%3F+%27%22' '!!@#$%^&*(){}[]=:/;? ''"'
  ) pairsDo: [ :from :to |
  self assert: to equals: from unescapePercents ]!