[squeak-dev] The Trunk: Tests-ul.120.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Mar 24 09:03:43 UTC 2011

Levente Uzonyi uploaded a new version of Tests to project The Trunk:

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

Name: Tests-ul.120
Author: ul
Time: 24 March 2011, 8:55:35.184 am
UUID: 07c19ba0-59ef-644c-8558-a41ae7fb3803
Ancestors: Tests-ul.119

- use FileDirectory slash instead of / in MCRepositoryTest >> #testCreationMethods

=============== Diff against Tests-ul.119 ===============

Item was changed:
  ----- Method: MCRepositoryTest>>testCreationMethods (in category 'tests') -----
  	"Tests creation via MCRepository>>location:"
  	| repo |
  	repo := MCRepository location: FileDirectory default pathName.
  	self assert: (repo isKindOf: MCDirectoryRepository).
  	self assert: (repo description = FileDirectory default pathName).
  	repo := MCRepository location: (FileDirectory default pathName, FileDirectory slash, '*').
  	self assert: (repo isKindOf: MCSubDirectoryRepository).
  	"XXXX: MCSubDirectoryRepo prints wrongly on Windows"
+ 	self assert: (repo description = (FileDirectory default pathName, FileDirectory slash, '*')).
- 	self assert: (repo description = (FileDirectory default pathName, '/*')).
  	repo := MCRepository location: 'http://source.squeak.org/trunk'.
  	self assert: (repo isKindOf: MCHttpRepository).
  	self assert: (repo description = 'http://source.squeak.org/trunk').
  	repo := MCRepository 
  		location: 'ftp://source.squeak.org/trunk' 
  		username: 'foo' 
  		password: 'bar'.
  	self assert: (repo isKindOf: MCFtpRepository).
  	self assert: (repo description = 'ftp://foo@source.squeak.org/trunk').

More information about the Squeak-dev mailing list