|
||||||||||
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.util.ColorMapTest
public class ColorMapTest
TestCase ColorMapTest is generated by JUnitDoclet to hold the tests for ColorMap.
ColorMap
Constructor Summary | |
---|---|
ColorMapTest(java.lang.String name)
Constructor ColorMapTest is basically calling the inherited constructor to initiate the TestCase for use by the Framework. |
Method Summary | |
---|---|
ColorMap |
createInstance()
Factory method for instances of the class to be tested. |
void |
testColor()
Method testColor is testing color |
void |
testColorIndex()
Method testColorIndex is testing colorIndex |
void |
testIsTransparent()
Method testIsTransparent is testing isTransparent |
void |
testName()
Method testName is testing name |
void |
testSize()
Method testSize is testing size |
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 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 ColorMapTest(java.lang.String name)
Method Detail |
---|
public ColorMap createInstance() throws java.lang.Exception
java.lang.Exception
public void testSize() throws java.lang.Exception
java.lang.Exception
ColorMap.size()
public void testColor() throws java.lang.Exception
java.lang.Exception
ColorMap.color(int)
public void testName() throws java.lang.Exception
java.lang.Exception
ColorMap.name(int)
public void testColorIndex() throws java.lang.Exception
java.lang.Exception
ColorMap.colorIndex(java.awt.Color)
public void testIsTransparent() throws java.lang.Exception
java.lang.Exception
ColorMap.isTransparent(java.awt.Color)
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 |