public abstract class SanselanTest
extends junit.framework.TestCase
implements org.apache.sanselan.SanselanConstants
| Modifier and Type | Class and Description |
|---|---|
static interface |
SanselanTest.ImageFilter |
| Constructor and Description |
|---|
SanselanTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
compareByteArrays(byte[] a,
byte[] b) |
protected File |
createTempFile(String prefix,
String suffix) |
protected File |
getTestImage() |
protected File |
getTestImage(SanselanTest.ImageFilter filter) |
protected List |
getTestImages() |
protected List |
getTestImages(SanselanTest.ImageFilter filter) |
protected List |
getTestImages(SanselanTest.ImageFilter filter,
int max) |
protected boolean |
isInvalidPNGTestFile(File file) |
protected boolean |
isPhilHarveyTestImage(File file) |
protected void |
purgeMemory() |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toStringassertEquals, 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, formatprotected File createTempFile(String prefix, String suffix) throws IOException
IOExceptionpublic void compareByteArrays(byte[] a,
byte[] b)
protected void purgeMemory()
protected boolean isPhilHarveyTestImage(File file)
protected File getTestImage() throws IOException, org.apache.sanselan.ImageReadException
IOExceptionorg.apache.sanselan.ImageReadExceptionprotected File getTestImage(SanselanTest.ImageFilter filter) throws IOException, org.apache.sanselan.ImageReadException
IOExceptionorg.apache.sanselan.ImageReadExceptionprotected List getTestImages() throws IOException, org.apache.sanselan.ImageReadException
IOExceptionorg.apache.sanselan.ImageReadExceptionprotected List getTestImages(SanselanTest.ImageFilter filter) throws IOException, org.apache.sanselan.ImageReadException
IOExceptionorg.apache.sanselan.ImageReadExceptionprotected List getTestImages(SanselanTest.ImageFilter filter, int max) throws IOException, org.apache.sanselan.ImageReadException
IOExceptionorg.apache.sanselan.ImageReadExceptionprotected boolean isInvalidPNGTestFile(File file)
Copyright © 2007-2012. All Rights Reserved.