|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.archive.util.TmpDirTestCase
org.archive.io.RecordingOutputStreamTest
Test casesfor RecordingOutputStream.
| Constructor Summary | |
RecordingOutputStreamTest()
|
|
| Method Summary | |
protected void |
setUp()
|
void |
testMarkReset()
Test mark and reset. |
void |
testReuse()
Test reusing instance of RecordingOutputStream. |
void |
testWritebytearray()
Method to test for void write(byte []). |
void |
testWriteint()
Method to test for void write(int). |
| Methods inherited from class org.archive.util.TmpDirTestCase |
cleanUpOldFiles, cleanUpOldFiles, getTmpDir, tearDown |
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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 RecordingOutputStreamTest()
| Method Detail |
protected void setUp()
throws java.lang.Exception
setUp in class TmpDirTestCasejava.lang.Exception
public void testReuse()
throws java.io.IOException
java.io.IOException - Failed open of backing file or opening of
input streams verifying recording.
public void testWriteint()
throws java.io.IOException
java.io.IOException - Failed open of backing file or opening of
input streams verifying recording.
public void testWritebytearray()
throws java.io.IOException
java.io.IOException - Failed open of backing file or opening of
input streams verifying recording.
public void testMarkReset()
throws java.io.IOException
java.io.IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||