[squeak-dev] The Trunk: ToolsTests-ul.50.mcz
commits at source.squeak.org
commits at source.squeak.org
Sat Jul 16 09:07:44 UTC 2011
Levente Uzonyi uploaded a new version of ToolsTests to project The Trunk:
http://source.squeak.org/trunk/ToolsTests-ul.50.mcz
==================== Summary ====================
Name: ToolsTests-ul.50
Author: ul
Time: 16 July 2011, 11:07:01.313 am
UUID: b3b70a70-701a-494b-b43a-4d72e02c8bcc
Ancestors: ToolsTests-btc.49
#shouldnt:raise:'s first argument should be a block in OrderedCollectionInspectorTest >> #testUninitialized
=============== Diff against ToolsTests-fbs.48 ===============
Item was added:
+ TestCase subclass: #OrderedCollectionInspectorTest
+ instanceVariableNames: ''
+ classVariableNames: ''
+ poolDictionaries: ''
+ category: 'ToolsTests-Inspector'!
Item was added:
+ ----- 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) ] "
+
+ self shouldnt: [ (OrderedCollectionInspector openOn: OrderedCollection basicNew) delete ] raise: Error.!
More information about the Squeak-dev
mailing list
|