public class ByteSourceImageTest extends ByteSourceTest
SanselanTest.ImageFilter
Constructor and Description |
---|
ByteSourceImageTest() |
Modifier and Type | Method and Description |
---|---|
void |
checkGetBufferedImage(File file,
byte[] bytes) |
void |
checkGetICCProfileBytes(File imageFile,
byte[] imageFileBytes) |
void |
checkGetImageInfo(File imageFile,
byte[] imageFileBytes) |
void |
checkGetImageSize(File imageFile,
byte[] imageFileBytes) |
void |
checkGuessFormat(File imageFile,
byte[] imageFileBytes) |
static junit.framework.Test |
suite() |
void |
test() |
createTempFile, getTestByteArrays
compareByteArrays, createTempFile, getTestImage, getTestImage, getTestImages, getTestImages, getTestImages, isInvalidPNGTestFile, isPhilHarveyTestImage, purgeMemory
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
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
public static junit.framework.Test suite()
public void test() throws IOException, org.apache.sanselan.ImageReadException, IllegalAccessException, IllegalArgumentException, InvocationTargetException
IOException
org.apache.sanselan.ImageReadException
IllegalAccessException
IllegalArgumentException
InvocationTargetException
public void checkGetBufferedImage(File file, byte[] bytes) throws IOException, org.apache.sanselan.ImageReadException
IOException
org.apache.sanselan.ImageReadException
public void checkGetImageSize(File imageFile, byte[] imageFileBytes) throws IOException, org.apache.sanselan.ImageReadException
IOException
org.apache.sanselan.ImageReadException
public void checkGuessFormat(File imageFile, byte[] imageFileBytes) throws IOException, org.apache.sanselan.ImageReadException
IOException
org.apache.sanselan.ImageReadException
public void checkGetICCProfileBytes(File imageFile, byte[] imageFileBytes) throws IOException, org.apache.sanselan.ImageReadException
IOException
org.apache.sanselan.ImageReadException
public void checkGetImageInfo(File imageFile, byte[] imageFileBytes) throws IOException, org.apache.sanselan.ImageReadException, IllegalAccessException, IllegalArgumentException, InvocationTargetException
IOException
org.apache.sanselan.ImageReadException
IllegalAccessException
IllegalArgumentException
InvocationTargetException
Copyright © 2007-2012. All Rights Reserved.