|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--com.rolemodelsoft.drawlet.basics.TC_AbstractFigure
|
+--com.rolemodelsoft.drawlet.text.TC_TextLabel
| Field Summary | |
protected TextLabel |
label
|
protected BasicStringRenderer |
renderer
|
| Fields inherited from class com.rolemodelsoft.drawlet.basics.TC_AbstractFigure |
figure,
locationRevealer,
propertyRevealer |
| Fields inherited from class junit.framework.TestCase |
result |
| Constructor Summary | |
TC_TextLabel(java.lang.String name)
TextLabelTest constructor comment. |
|
| Method Summary | |
void |
setUp()
Sets up the fixture, for example, open a network connection. |
void |
testContainsFigure()
Test to make sure the contains( Figure ) method is functioning properly. |
void |
testContainsIntInt()
Test to make sure the contains( int, int ) method is functioning properly. |
void |
testContainsRectangle()
Test to make sure the contains( Rectangle ) method is functioning properly. |
void |
testEditTool()
Test to make sure that the edit tool returned is null. |
void |
testGetBottom()
Test to make sure the bottom is properly returned. |
void |
testGetHeight()
Test to make sure the height of the figure is properly returned. |
void |
testGetLeft()
Test to make sure the leftmost coordinate of the figure is properly returned. |
void |
testGetLocator()
Test to make sure the locator is properly returned. |
void |
testGetRight()
Test to make sure the rightmost coordinate of the figure is properly returned. |
void |
testGetSize()
Test to make sure the size of the figure is properly returned. |
void |
testGetTop()
Test to make sure the top is properly returned. |
void |
testGetWidth()
Test to make sure the width of the figure is properly returned. |
void |
testIntersectsFigure()
Test to make sure the intersects( Figure ) method is functioning properly. |
void |
testIntersectsRectangle()
Test to make sure the intersects( Rectangle ) method is functioning properly. |
void |
testIsWithinFigure()
Test to make sure the isWithin( Figure ) method is functioning properly. |
void |
testIsWithinRectangle()
Test to make sure the isWithin( Rectangle ) method is functioning properly. |
void |
testMoveIntInt()
Test to make sure move( int, int ) works correctly. |
void |
testRequestConnection()
Test to make sure the locator is properly returned. |
void |
testSetBounds()
Test to make sure the bounds are properly set. |
void |
testSetSizeDimension()
Test to make sure the setSize( Dimension ) method is working properly. |
void |
testSetSizeIntInt()
Test to make sure the setSize( int, int ) method is working properly. |
void |
testTranslate()
Test to make sure translate works correctly. |
| Methods inherited from class com.rolemodelsoft.drawlet.basics.TC_AbstractFigure |
testAddPropertyChangeListener,
testAddRelatedLocationListener,
testDisconnect,
testGetHandles,
testGetStyle,
testIsObsolete,
testLocatorAt,
testMoveLocator,
testRelatedLocationListeners,
testRemovePropertyChangeListener,
testRemoveRelatedLocationListener,
testSetStyle,
translateByExpecting |
| Methods inherited from class junit.framework.TestCase |
countTestCases,
createResult,
name,
onAssertion,
run,
run,
runBare,
runTest,
tearDown,
toString |
| Methods inherited from class junit.framework.Assert |
assert,
assert,
assertEquals,
assertEquals,
assertEquals,
assertEquals,
assertEquals,
assertEquals,
assertNotNull,
assertNotNull,
assertNull,
assertNull,
assertSame,
assertSame,
fail,
fail,
failNotEquals,
failNotSame |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Field Detail |
protected TextLabel label
protected BasicStringRenderer renderer
| Constructor Detail |
public TC_TextLabel(java.lang.String name)
name - java.lang.String| Method Detail |
public void setUp()
public void testContainsFigure()
public void testContainsIntInt()
public void testContainsRectangle()
public void testEditTool()
public void testGetBottom()
public void testGetHeight()
public void testGetLeft()
public void testGetLocator()
public void testGetRight()
public void testGetSize()
public void testGetTop()
public void testGetWidth()
public void testIntersectsFigure()
public void testIntersectsRectangle()
public void testIsWithinFigure()
public void testIsWithinRectangle()
public void testMoveIntInt()
public void testRequestConnection()
public void testSetBounds()
public void testSetSizeDimension()
public void testSetSizeIntInt()
public void testTranslate()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||