The Trunk: ToolsTests-pre.77.mcz

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

The Trunk: ToolsTests-pre.77.mcz

commits-2
Patrick Rein uploaded a new version of ToolsTests to project The Trunk:
http://source.squeak.org/trunk/ToolsTests-pre.77.mcz

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

Name: ToolsTests-pre.77
Author: pre
Time: 19 May 2016, 2:52:01.715168 pm
UUID: 237de745-810d-433e-80c2-0752d24b2226
Ancestors: ToolsTests-nice.76

Fixes a test for the FileList class. The itemsForFile: method requires a fully qualified path which is stated in the method and also provided by internal methods of FileList. The test however used a relative path.

=============== Diff against ToolsTests-nice.76 ===============

Item was changed:
  ----- Method: FileListTest>>testServicesForFileEnding (in category 'test') -----
  testServicesForFileEnding
  "(self selector: #testServicesForFileEnding) debug"
 
+ | items |
+ items := (FileList new directory: FileDirectory default; yourself)
+  itemsForFile: (FileDirectory default fullNameFor: 'aaa.kkk').
+ self assert: (items anySatisfy: [ :ea | self checkIsServiceIsFromDummyTool: ea ]).
- self assert: (((FileList new directory: FileDirectory default; yourself) itemsForFile: 'aaa.kkk') anySatisfy: [ :ea | self checkIsServiceIsFromDummyTool: ea ]).
  !