public class TeeOutputStreamTest extends junit.framework.TestCase
| Constructor and Description |
|---|
TeeOutputStreamTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
testCloseBranchIOException()
Tests that the branch
OutputStream is closed when closing the main OutputStream throws an
exception on TeeOutputStream.close(). |
void |
testCloseMainIOException()
Tests that the main
OutputStream is closed when closing the branch OutputStream throws an
exception on TeeOutputStream.close(). |
void |
testTee() |
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toStringpublic TeeOutputStreamTest(String name)
public void testCloseBranchIOException()
OutputStream is closed when closing the main OutputStream throws an
exception on TeeOutputStream.close().public void testCloseMainIOException()
OutputStream is closed when closing the branch OutputStream throws an
exception on TeeOutputStream.close().public void testTee() throws IOException
IOExceptionCopyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.