[squeak-dev] The Inbox: NetworkTests-ar.13.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Apr 13 04:40:13 UTC 2010


A new version of NetworkTests was added to project The Inbox:
http://source.squeak.org/inbox/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.!




More information about the Squeak-dev mailing list