The Trunk: Tests-eem.373.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-eem.373.mcz

commits-2
Eliot Miranda uploaded a new version of Tests to project The Trunk:
http://source.squeak.org/trunk/Tests-eem.373.mcz

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

Name: Tests-eem.373
Author: eem
Time: 30 March 2017, 1:29:06.956254 pm
UUID: baddb401-7953-4a95-ad16-0c2424edab06
Ancestors: Tests-eem.372

In the Monticello tests for kindOfSubclass, eliminate a reference to the variable subclass MethodContext in favour of the variable subclass BlockClosure, and add BoxedFloat64 and SmallFloat64 and CompiledMethod and the non-pointer variable subclasses (no ephemeronSubclass: in the base image as of yet).

=============== Diff against Tests-eem.372 ===============

Item was changed:
  ----- Method: MCClassDefinitionTest>>testKindOfSubclass (in category 'as yet unclassified') -----
  testKindOfSubclass
+ {self mockClassA. String. ByteString. WideString. BlockClosure. WeakArray. BoxedFloat64. SmallFloat64. CompiledMethod. ByteArray. DoubleByteArray. IntegerArray. DoubleWordArray. }
+ do: [:c |
+ self assert: c asClassDefinition kindOfSubclass equals: c kindOfSubclass]!
- | classes |
- classes := {self mockClassA. String. MethodContext. WeakArray. Float}.
- classes do: [:c | | d |
- d :=  c asClassDefinition.
- self assert: d kindOfSubclass = c kindOfSubclass.
- ].!