org.corpstein.image
Class TestLayer

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.corpstein.image.TestLayer
All Implemented Interfaces:
junit.framework.Test

public class TestLayer
extends junit.framework.TestCase

Unit tests for the org.corpstein.image.Layer class.

Version:
$Revision: 1.5 $ $Date: 2005/04/24 21:04:29 $
Author:
David Corpstein

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

TestLayer

public TestLayer()
Method Detail

addLayer

public void addLayer(java.util.SortedMap map,
                     Layer layer)

testGetSetDimension

public void testGetSetDimension()

testGetSet

public void testGetSet()

testDraw01

public void testDraw01()

testDraw02

public void testDraw02()
Test a simple SortedMap of Layers (and subclasses) that is sorted by z-index, drawing them overlapping. The BSD Daemon is Copyright © Marshall Kirk McKusick. The Tux image was created by Larry Ewing using The GIMP.


main

public static void main(java.lang.String[] args)
Added so that the test can be run directly



Last update: 20050424 1651