The Trunk: NetworkTests-ar.13.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: NetworkTests-ar.13.mcz

commits-2
Andreas Raab uploaded a new version of NetworkTests to project The Trunk:
http://source.squeak.org/trunk/NetworkTests-ar.13.mcz

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

Name: NetworkTests-ar.13
Author: ar
Time: 12 April 2010, 9:39:58.359 pm
UUID: d44f4ac0-7a67-304b-9307-b21a0c696abb
Ancestors: NetworkTests-nice.12

Add a test for directory / uri conversions including hash marks in the directory name.

=============== Diff against NetworkTests-nice.12 ===============

Item was added:
+ ----- Method: TestURI>>testDirWithHash (in category 'running file') -----
+ testDirWithHash
+ "Tests proper escaping of directories with hash mark"
+
+ | uriDir origPath origDir dirURI |
+ origPath := FileDirectory default pathName, '#123'.
+ origDir := FileDirectory on: origPath.
+ self assert: origDir pathName = origPath.
+
+ dirURI := origDir uri.
+ uriDir := FileDirectory uri: dirURI.
+ self assert: origDir fullName = uriDir fullName.!