|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
us.zuercher.gpx2map.image.generic.test.GenericImageTest
public class GenericImageTest
GenericImageTest tests GenericImage and GenericImageFactory.
| Constructor Summary | |
|---|---|
GenericImageTest(String name)
Constructs a new GenericImageTest with the given name. |
|
| Method Summary | |
|---|---|
void |
testGif()
Test a GIF file with a non-trivial transparency data. |
void |
testGifNoAlpha()
Test a GIF file with no transparency. |
void |
testJpeg()
Test a JPEG file. |
void |
testPng()
Test a PNG file with a non-trivial transparency data. |
void |
testPngNoAlpha()
Test a PNG file with no transparency. |
void |
testUnknownFormat()
Tests that a PPM file throws UnknownFormatException. |
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GenericImageTest(String name)
name - test name| Method Detail |
|---|
public void testGif()
throws IOException
IOException - if GenericImageFactory does
public void testPng()
throws IOException
IOException - if GenericImageFactory does
public void testGifNoAlpha()
throws IOException
IOException - if GenericImageFactory does
public void testPngNoAlpha()
throws IOException
IOException - if GenericImageFactory does
public void testJpeg()
throws IOException
IOException - if GenericImageFactory does
public void testUnknownFormat()
throws IOException
UnknownFormatException.
IOException - if GenericImageFactory does
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||