|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.corpstein.image.TestLayer
public class TestLayer
Unit tests for the org.corpstein.image.Layer class.
Constructor Summary | |
---|---|
TestLayer()
|
Method Summary | |
---|---|
void |
addLayer(java.util.SortedMap map,
Layer layer)
|
static void |
main(java.lang.String[] args)
Added so that the test can be run directly |
void |
testDraw01()
|
void |
testDraw02()
Test a simple SortedMap of Layers (and subclasses) that is sorted by z-index, drawing them overlapping. |
void |
testGetSet()
|
void |
testGetSetDimension()
|
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TestLayer()
Method Detail |
---|
public void addLayer(java.util.SortedMap map, Layer layer)
public void testGetSetDimension()
public void testGetSet()
public void testDraw01()
public void testDraw02()
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |