|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase com.drew.imaging.jpeg.test.JpegSegmentReaderTest
public class JpegSegmentReaderTest
Contains JUnit tests for the JpegSegmentReader class.
Constructor Summary | |
---|---|
JpegSegmentReaderTest(String s)
|
Method Summary | |
---|---|
void |
testCreateWithFileAndReadMultipleSegments()
|
void |
testCreateWithInputStream()
|
void |
testCreateWithInputStreamAndReadMultipleSegments()
|
void |
testGetSegmentCount()
|
void |
testIsJpegWithJpegFile()
|
void |
testIsJpegWithNonJpegFile()
|
void |
testReadApp1Segment()
|
void |
testReadDQTSegment()
|
void |
testReadJpegByteArray()
|
void |
testReadNonExistantSegmentInstance()
|
void |
testReadSecondSegmentInstanace()
|
private void |
validateMultipleSegmentRead(JpegSegmentReader reader)
|
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 JpegSegmentReaderTest(String s)
Method Detail |
---|
public void testIsJpegWithJpegFile() throws Exception
Exception
public void testIsJpegWithNonJpegFile() throws Exception
Exception
public void testReadApp1Segment() throws Exception
Exception
public void testReadDQTSegment() throws Exception
Exception
public void testReadJpegByteArray() throws Exception
Exception
public void testCreateWithInputStream() throws Exception
Exception
public void testReadSecondSegmentInstanace() throws Exception
Exception
public void testReadNonExistantSegmentInstance() throws Exception
Exception
public void testGetSegmentCount() throws Exception
Exception
public void testCreateWithFileAndReadMultipleSegments() throws Exception
Exception
public void testCreateWithInputStreamAndReadMultipleSegments() throws Exception
Exception
private void validateMultipleSegmentRead(JpegSegmentReader reader) throws JpegProcessingException
JpegProcessingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |