|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.jhotdraw.test.JHDTestCase
org.jhotdraw.test.standard.ToolButtonTest
public class ToolButtonTest
TestCase ToolButtonTest is generated by JUnitDoclet to hold the tests for ToolButton.
ToolButton
Field Summary |
---|
Fields inherited from class org.jhotdraw.test.JHDTestCase |
---|
myDrawingEditor |
Constructor Summary | |
---|---|
ToolButtonTest(java.lang.String name)
Constructor ToolButtonTest is basically calling the inherited constructor to initiate the TestCase for use by the Framework. |
Method Summary | |
---|---|
ToolButton |
createInstance()
Factory method for instances of the class to be tested. |
void |
testAttributeValue()
Method testAttributeValue is testing attributeValue |
void |
testGetMaximumSize()
Method testGetMaximumSize is testing getMaximumSize |
void |
testGetMinimumSize()
Method testGetMinimumSize is testing getMinimumSize |
void |
testGetPreferredSize()
Method testGetPreferredSize is testing getPreferredSize |
void |
testName()
Method testName is testing name |
void |
testPaint()
Method testPaint is testing paint |
void |
testPaintSelected()
Method testPaintSelected is testing paintSelected |
void |
testTool()
Method testTool is testing tool |
void |
testToolActivated()
Method testToolActivated is testing toolActivated |
void |
testToolDeactivated()
Method testToolDeactivated is testing toolDeactivated |
void |
testToolDisabled()
Method testToolDisabled is testing toolDisabled |
void |
testToolEnabled()
Method testToolEnabled is testing toolEnabled |
void |
testToolUnusable()
Method testToolUnusable is testing toolUnusable |
void |
testToolUsable()
Method testToolUsable is testing toolUsable |
void |
testVault()
JUnitDoclet moves marker to this method, if there is not match for them in the regenerated code and if the marker is not empty. |
Methods inherited from class org.jhotdraw.test.JHDTestCase |
---|
createNewDrawingEditor, getDrawingEditor |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, getName, run, run, runBare, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ToolButtonTest(java.lang.String name)
Method Detail |
---|
public ToolButton createInstance() throws java.lang.Exception
java.lang.Exception
public void testTool() throws java.lang.Exception
java.lang.Exception
ToolButton.tool()
public void testName() throws java.lang.Exception
java.lang.Exception
ToolButton.name()
public void testAttributeValue() throws java.lang.Exception
java.lang.Exception
ToolButton.attributeValue()
public void testGetMinimumSize() throws java.lang.Exception
java.lang.Exception
ToolButton.getMinimumSize()
public void testGetPreferredSize() throws java.lang.Exception
java.lang.Exception
ToolButton.getPreferredSize()
public void testGetMaximumSize() throws java.lang.Exception
java.lang.Exception
ToolButton.getMaximumSize()
public void testPaintSelected() throws java.lang.Exception
java.lang.Exception
ToolButton.paintSelected(java.awt.Graphics)
public void testPaint() throws java.lang.Exception
java.lang.Exception
ToolButton.paint(java.awt.Graphics)
public void testToolUsable() throws java.lang.Exception
java.lang.Exception
ToolButton.toolUsable(java.util.EventObject)
public void testToolUnusable() throws java.lang.Exception
java.lang.Exception
ToolButton.toolUnusable(java.util.EventObject)
public void testToolActivated() throws java.lang.Exception
java.lang.Exception
ToolButton.toolActivated(java.util.EventObject)
public void testToolDeactivated() throws java.lang.Exception
java.lang.Exception
ToolButton.toolDeactivated(java.util.EventObject)
public void testToolEnabled() throws java.lang.Exception
java.lang.Exception
ToolButton.toolEnabled(java.util.EventObject)
public void testToolDisabled() throws java.lang.Exception
java.lang.Exception
ToolButton.toolDisabled(java.util.EventObject)
public void testVault() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |