us.zuercher.gpx2map.image.netpbm.test
Class PamImageTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by us.zuercher.gpx2map.image.netpbm.test.PamImageTest
All Implemented Interfaces:
Test

public class PamImageTest
extends TestCase

PamImageTest tests PamImage.

Author:
Stephan Zuercher

Constructor Summary
PamImageTest(String name)
          Constructs a PamImageTest.
 
Method Summary
 void testPamImage()
          Does a very simple test of PamImage.
 void testPamImageWithAlpha()
          Does a very simple test of PamImage.
 
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

PamImageTest

public PamImageTest(String name)
Constructs a PamImageTest.

Parameters:
name - test name
Method Detail

testPamImage

public void testPamImage()
                  throws IOException
Does a very simple test of PamImage.

Throws:
IOException - if there's an error reading a valid file

testPamImageWithAlpha

public void testPamImageWithAlpha()
                           throws IOException
Does a very simple test of PamImage.

Throws:
IOException - if there's an error reading a valid file