com.webcodepro.applecommander.storage.filters.imagehandlers
Class SwtImageTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.webcodepro.applecommander.storage.filters.imagehandlers.SwtImageTest
All Implemented Interfaces:
junit.framework.Test

public class SwtImageTest
extends junit.framework.TestCase

Excersize the SwtImage class for all known types.

Author:
Rob

Constructor Summary
SwtImageTest(java.lang.String arg0)
          Constructor for SwtImageTest.
 
Method Summary
static void main(java.lang.String[] args)
           
protected  void performTest(java.lang.String imageType)
           
 void testBMP_RLE()
           
 void testBMP()
           
 void testGIF()
           
 void testICO()
           
 void testJPEG()
           
 void testPNG()
           
 
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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SwtImageTest

public SwtImageTest(java.lang.String arg0)
Constructor for SwtImageTest.

Method Detail

main

public static void main(java.lang.String[] args)

testPNG

public void testPNG()
             throws java.lang.Exception
Throws:
java.lang.Exception

testJPEG

public void testJPEG()
              throws java.lang.Exception
Throws:
java.lang.Exception

testBMP

public void testBMP()
             throws java.lang.Exception
Throws:
java.lang.Exception

testBMP_RLE

public void testBMP_RLE()
                 throws java.lang.Exception
Throws:
java.lang.Exception

testGIF

public void testGIF()
             throws java.lang.Exception
Throws:
java.lang.Exception

testICO

public void testICO()
             throws java.lang.Exception
Throws:
java.lang.Exception

performTest

protected void performTest(java.lang.String imageType)
                    throws java.lang.Exception
Throws:
java.lang.Exception