org.apache.sanselan.roundtrip
Class RoundtripTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.sanselan.SanselanTest
              extended by org.apache.sanselan.roundtrip.RoundtripTest
All Implemented Interfaces:
junit.framework.Test, org.apache.sanselan.SanselanConstants

public class RoundtripTest
extends SanselanTest


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.sanselan.SanselanTest
SanselanTest.ImageFilter
 
Field Summary
 
Fields inherited from interface org.apache.sanselan.SanselanConstants
BUFFERED_IMAGE_FACTORY, PARAM_KEY_COMPRESSION, PARAM_KEY_FILENAME, PARAM_KEY_FORMAT, PARAM_KEY_READ_THUMBNAILS, PARAM_KEY_STRICT, PARAM_KEY_VERBOSE, PARAM_KEY_XMP_XML
 
Constructor Summary
RoundtripTest()
           
 
Method Summary
 void testBitmapRoundtrip()
           
 void testFullColorRoundtrip()
           
 void testGrayscaleRoundtrip()
           
 void testLimitedColorRoundtrip()
           
 
Methods inherited from class org.apache.sanselan.SanselanTest
compareByteArrays, createTempFile, getTestImage, getTestImage, getTestImages, getTestImages, getTestImages, isInvalidPNGTestFile, isPhilHarveyTestImage, purgeMemory
 
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, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RoundtripTest

public RoundtripTest()
Method Detail

testBitmapRoundtrip

public void testBitmapRoundtrip()
                         throws java.io.IOException,
                                org.apache.sanselan.ImageReadException,
                                org.apache.sanselan.ImageWriteException
Throws:
java.io.IOException
org.apache.sanselan.ImageReadException
org.apache.sanselan.ImageWriteException

testGrayscaleRoundtrip

public void testGrayscaleRoundtrip()
                            throws java.io.IOException,
                                   org.apache.sanselan.ImageReadException,
                                   org.apache.sanselan.ImageWriteException
Throws:
java.io.IOException
org.apache.sanselan.ImageReadException
org.apache.sanselan.ImageWriteException

testLimitedColorRoundtrip

public void testLimitedColorRoundtrip()
                               throws java.io.IOException,
                                      org.apache.sanselan.ImageReadException,
                                      org.apache.sanselan.ImageWriteException
Throws:
java.io.IOException
org.apache.sanselan.ImageReadException
org.apache.sanselan.ImageWriteException

testFullColorRoundtrip

public void testFullColorRoundtrip()
                            throws java.io.IOException,
                                   org.apache.sanselan.ImageReadException,
                                   org.apache.sanselan.ImageWriteException
Throws:
java.io.IOException
org.apache.sanselan.ImageReadException
org.apache.sanselan.ImageWriteException


Copyright © 2007-2010. All Rights Reserved.