[squeak-dev] The Trunk: Tests-laza.37.mcz

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

[squeak-dev] The Trunk: Tests-laza.37.mcz

commits-2
Alexander Lazarević uploaded a new version of Tests to project The Trunk:
http://source.squeak.org/trunk/Tests-laza.37.mcz

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

Name: Tests-laza.37
Author: laza
Time: 7 October 2009, 11:11:36 am
UUID: 0b005837-a817-614b-beac-13d5736416c0
Ancestors: Tests-mha.36

Add a test to ReleasTest to check the subclass to superclass references that might have been polluted by mantis bug 7090

=============== Diff against Tests-mha.36 ===============

Item was added:
+ ----- Method: ReleaseTest>>testSuperSubclassReferences (in category 'testing') -----
+ testSuperSubclassReferences
+ "see mantis bug 7090 for more info on this"
+ "If the reason for this test to fail is above bug, the following might fix the system"
+ "(ProtoObject subclasses reject: [:each | each isMeta or: [each environment includes: each]]) do: [:each | ProtoObject removeSubclass: each]"
+
+ self assert: (ProtoObject allSubclasses reject: [:each | each isMeta or: [each environment includes: each]]) isEmpty!