Home
last modified time | relevance | path

Searched refs:aos2 (Results 1 – 3 of 3) sorted by relevance

/external/apache-commons-compress/src/test/java/org/apache/commons/compress/
DIOMethodsTest.java117 final ArchiveOutputStream aos2 = factory.createArchiveOutputStream(archiverName, out2); in compareWrites() local
118 aos2.putArchiveEntry(entry); in compareWrites()
127 aos2.write(byteTest); in compareWrites()
128 aos2.closeArchiveEntry(); in compareWrites()
129 aos2.close(); in compareWrites()
134 assertEquals("aos1Bytes!=aos2Bytes",aos1.getBytesWritten(),aos2.getBytesWritten()); in compareWrites()
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
DStreamHandlerTest.java731 ByteArrayOutputStream aos2 = new ByteArrayOutputStream(); in testSetOutputStream_Normal() local
732 h.setOutputStream(aos2); in testSetOutputStream_Normal()
740 assertEquals("MockFormatter_Head" + "testSetOutputStream_Normal2", aos2 in testSetOutputStream_Normal()
762 ByteArrayOutputStream aos2 = new ByteArrayOutputStream(); in testSetOutputStream_AfterClose() local
763 h.setOutputStream(aos2); in testSetOutputStream_AfterClose()
771 assertEquals("MockFormatter_Head" + "testSetOutputStream_Normal2", aos2 in testSetOutputStream_AfterClose()
DConsoleHandlerTest.java398 ByteArrayOutputStream aos2 = new ByteArrayOutputStream(); in testSetOutputStream_Normal() local
399 h.setOutputStream(aos2); in testSetOutputStream_Normal()