Tests-VM

BecomeTest
A BecomeTest is xxxxxxxxx.
Instance Variables
testBecome
Test the two way become. Note. we cannot use string literals for this test
testBecomeForward
Test the forward become.
testBecomeForwardDontCopyIdentityHash
Check that
1. the argument to becomeForward: is NOT modified to have the receiver's identity hash.
2. the receiver's identity hash is unchanged.
testBecomeForwardHash
testBecomeForwardIdentityHash
Check that
1. the argument to becomeForward: is modified to have the receiver's identity hash.
2. the receiver's identity hash is unchanged.
testBecomeHash
testBecomeIdentityHash
Note. The identity hash of both objects seems to change after the become:
IslandVMTweaksTestCase
Test case for some tweaks to the VM that Islands requires. These tests are largely for documentation; with an un-tweaked VM, the tests mostly still succeed, albeit with possible memory corruption.
aaaREADMEaboutPrimitives
most of the Islands tweaks allow primitive methods to be located in places other than class Object. Thus they are copied here for testing.
classOf:
instVarOf:at:
instVarOf:at:put:
nextInstanceAfter:
nextObjectAfter:
replaceIn:from:to:with:startingAt:
returnTwelve
this method is tweaked by testFlagInCompiledMethod
someInstanceOf:
someObject
Primitive. Answer the first object in the enumeration of all
objects.
testEmptyReplace
testFlagInCompiledMethod
this tests that the flag in compiled methods is treated correctly
testForgivingPrims