com.drew.imaging.jpeg.test
Class JpegSegmentDataTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.drew.imaging.jpeg.test.JpegSegmentDataTest
All Implemented Interfaces:
junit.framework.Test

public class JpegSegmentDataTest
extends junit.framework.TestCase


Constructor Summary
JpegSegmentDataTest(String name)
           
 
Method Summary
 void testAddAndGetSegment()
           
 void testAddingMultipleSegments()
           
 void testContainsSegment()
           
 void testRemoveSegment()
           
 void testRemoveSegmentOccurrence()
           
 void testSegmentWithMultipleOccurrences()
           
 void testToAndFromFile()
           
 
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

JpegSegmentDataTest

public JpegSegmentDataTest(String name)
Method Detail

testAddAndGetSegment

public void testAddAndGetSegment()
                          throws Exception
Throws:
Exception

testContainsSegment

public void testContainsSegment()
                         throws Exception
Throws:
Exception

testAddingMultipleSegments

public void testAddingMultipleSegments()
                                throws Exception
Throws:
Exception

testSegmentWithMultipleOccurrences

public void testSegmentWithMultipleOccurrences()
                                        throws Exception
Throws:
Exception

testRemoveSegmentOccurrence

public void testRemoveSegmentOccurrence()
                                 throws Exception
Throws:
Exception

testRemoveSegment

public void testRemoveSegment()
                       throws Exception
Throws:
Exception

testToAndFromFile

public void testToAndFromFile()
                       throws Exception
Throws:
Exception