The Trunk: Tests-cmm.105.mcz

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

The Trunk: Tests-cmm.105.mcz

commits-2
Chris Muller uploaded a new version of Tests to project The Trunk:
http://source.squeak.org/trunk/Tests-cmm.105.mcz

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

Name: Tests-cmm.105
Author: cmm
Time: 2 January 2011, 9:44:55.466 pm
UUID: 16390b61-4ab0-4f74-a363-0cf57003eded
Ancestors: Tests-mtf.104

Removed redundant, platform-specific test.

=============== Diff against Tests-mtf.104 ===============

Item was changed:
  ----- Method: MCRepositoryTest>>testCreationMethods (in category 'tests') -----
  testCreationMethods
  "Tests creation via MCRepository>>location:"
 
  | repo |
- repo := MCRepository location: 'C:\Squeak\trunk'.
- self assert: (repo isKindOf: MCDirectoryRepository).
- self assert: (repo description = 'C:\Squeak\trunk').
 
  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, '/*')).
 
  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://[hidden email]/trunk').
  !