The Trunk: ToolsTests-fbs.67.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-fbs.67.mcz

commits-2
Frank Shearar uploaded a new version of ToolsTests to project The Trunk:
http://source.squeak.org/trunk/ToolsTests-fbs.67.mcz

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

Name: ToolsTests-fbs.67
Author: fbs
Time: 6 November 2013, 6:41:41.919 pm
UUID: 2a6872a7-eff9-634e-8ff6-4e32849ac245
Ancestors: ToolsTests-fbs.66

More #shouldnt:raise: Error fixes.

=============== Diff against ToolsTests-fbs.66 ===============

Item was changed:
  ----- Method: FileListTest>>testAllRegisteredServices (in category 'test') -----
  testAllRegisteredServices
  "(self selector: #testAllRegisteredServices) debug"
 
+ "This should not throw an exception."
+ FileList allRegisteredServices.!
- self shouldnt: [FileList allRegisteredServices] raise: Error!

Item was changed:
  ----- Method: OrderedCollectionInspectorTest>>testUninitialized (in category 'as yet unclassified') -----
  testUninitialized
  "Single stepping through a debugger can observe the object state after creation but before initiialisation."
  "Thus 'object size' may throw an axception for trying to do arithmetic on nil."
  "Modified OrderedCollectionInspector>>fieldList to call 'self objectSize' to handle this exception."
  "Original error reproduction: [ self halt. OrderedCollectionInspector openOn: (OrderedCollection new: 5) ]     "
 
+ "This should not throw an exception."
+ (OrderedCollectionInspector openOn: OrderedCollection basicNew) delete.!
- self shouldnt:  [ (OrderedCollectionInspector openOn: OrderedCollection basicNew) delete ] raise: Error.!