test.util.ui
Class GraphicToolsTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by test.util.ui.GraphicToolsTest
All Implemented Interfaces:
junit.framework.Test

public class GraphicToolsTest
extends junit.framework.TestCase

Tests for the GraphicTools class, checking transformation output against images in the testImages directory.

Version:
January 20, 2008

Constructor Summary
GraphicToolsTest()
           
 
Method Summary
static void main(String[] args)
           
 void testCopy()
           
 void testFlip()
           
 void testGetGradient()
           
 void testGetNegative()
           
 void testGrayscale()
           
 void testOutline()
           
 void testReplaceColor()
           
 void testRotateCCW()
           
 void testRotateCW()
           
 void testSetAlpha()
           
 void testTint()
           
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GraphicToolsTest

public GraphicToolsTest()
Method Detail

main

public static void main(String[] args)

testCopy

public void testCopy()

testSetAlpha

public void testSetAlpha()

testGetNegative

public void testGetNegative()

testGetGradient

public void testGetGradient()

testReplaceColor

public void testReplaceColor()

testTint

public void testTint()

testGrayscale

public void testGrayscale()

testOutline

public void testOutline()

testFlip

public void testFlip()

testRotateCW

public void testRotateCW()

testRotateCCW

public void testRotateCCW()