MorphicTests

BalloonFontTest
A BalloonFontTest is xxxxxxxxx.
Instance Variables
testDefaultFont
(self selector: #testDefaultFont) debug
testSpecificFont
(self selector: #testSpecificFont) debug
CircleMorphTest
A CircleMorphTest is a subclass of MorphTest. It was first implemented when removing some unused and broken functionality.
My fixtures are morph, a CircleMorph and world.
setUp
MCPTest
A MCPTest is xxxxxxxxx.
Instance Variables
defaultBounds
the default bounds for morphs
defaultTop
the default top for morphs
testIsMorphicModel
test isMorphicModel
testTop
test the #top: messages and its consequences
MorphTest
This is the unit test for the class Morph. Unit tests are a good way to exercise the functionality of your system in a repeatable and automatic manner. They are therefore recommended if you plan to release anything. For more information, see:
- http://www.c2.com/cgi/wiki?UnitTest
- http://minnow.cc.gatech.edu/squeak/1547
- the sunit class category
getWorld
setUp
tearDown
testIntoWorldCollapseOutOfWorld
Create the guys
testIntoWorldDeleteOutOfWorld
Create the guys
testIntoWorldTransferToNewGuy
Create the guys
testIsMorph
testOpenInWorld
PasteUpMorphTest
I am a TestCase for PasteUpMorph.
testCursorWrapped
self debug: #testCursorWrapped
testCursorWrappedWithFraction
self debug: #testCursorWrappedWithFraction
testGridToGradient
A trivial test for checking that you can change from a grid to a
gradient background. A recent [FIX] will make this pass.
PolygonMorphTest
This class holds tests for PolygonMorph
testBoundsBug1035
This is a non regression test for http://bugs.squeak.org/view.php?id=1035
PolygonMorph used to position badly when container bounds were growing
SimpleSwitchMorphTest
I test the behavior of SimpleSwitchMorph
setUp
testName
testState
testSwitching
TestInWorldMorph
Helper class for MorphTest
initialize
initialize the state of the receiver
intoWorld:
The receiver has just appeared in a new world. Note:
* aWorld can be nil (due to optimizations in other places)
* owner is already set
* owner's submorphs may not include receiver yet.
Important: Keep this method fast - it is run whenever morphs are added.
intoWorldCount
outOfWorld:
The receiver has just appeared in a new world. Notes:
* aWorld can be nil (due to optimizations in other places)
* owner is still valid
Important: Keep this method fast - it is run whenever morphs are removed.
outOfWorldCount
TextAnchorTest
A TextAnchorTest is xxxxxxxxx.
Instance Variables
setUp
subclasses will add their prototypes into this collection
TextLineTest
A TextLineTest is xxxxxxxxx.
Instance Variables
setUp
subclasses will add their prototypes into this collection
TextMorphTest
A TextMorphTest is xxxxxxxxx.
Instance Variables
testInitialize
For now, just make sure initialization doesn't throw exception