Searched defs:bao (Results 1 - 5 of 5) sorted by relevance
/libcore/luni/src/test/java/libcore/java/io/ |
H A D | OldObjectOutputStreamTest.java | 144 protected ByteArrayOutputStream bao; field in class:OldObjectOutputStreamTest 175 int outputSize = bao.size(); 179 bao.size() == outputSize); 183 bao.size() > outputSize); 222 int size = bao.size(); 224 assertTrue("Test 1: Data already flushed.", bao.size() == size); 226 assertTrue("Test 2: Failed to flush data.", bao.size() > size); 254 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 290 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 370 oos = new ObjectOutputStream(bao [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
H A D | PrintWriterTest.java | 60 ByteArrayOutputStream bao; field in class:PrintWriterTest 76 br = new BufferedReader(new Support_StringReader(bao.toString())); 94 pw = new PrintWriter(bao, true); 98 br = new BufferedReader(new Support_StringReader(bao.toString())); 103 br = new BufferedReader(new Support_StringReader(bao.toString())); 238 assertTrue("Failed to flush", new String(bao.toByteArray()) 253 br = new BufferedReader(new Support_StringReader(bao.toString())); 277 assertEquals("Wrote incorrect char string", "c", new String(bao.toByteArray()) 289 assertTrue("Wrote incorrect double string", new String(bao 302 new String(bao [all...] |
H A D | SerializationStressTest.java | 91 protected transient ByteArrayOutputStream bao; field in class:SerializationStressTest 229 return new ByteArrayInputStream(bao.toByteArray()); 253 oos = new ObjectOutputStream(bao = new ByteArrayOutputStream()); 284 oos = new ObjectOutputStream(bao = new ByteArrayOutputStream()); 314 oos = new ObjectOutputStream(bao = new ByteArrayOutputStream()); 315 int size = bao.size(); 317 assertTrue("Data flushed already", bao.size() == size); 319 assertTrue("Failed to flush data", bao.size() > size);
|
H A D | ObjectOutputStreamTest.java | 572 protected ByteArrayOutputStream bao; field in class:ObjectOutputStreamTest 613 int size = bao.size(); 615 assertTrue("Data flushed already", bao.size() == size); 617 assertTrue("Failed to flush data", bao.size() > size); 642 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 661 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 707 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 734 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 750 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 764 ois = new ObjectInputStream(new ByteArrayInputStream(bao [all...] |
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/ |
H A D | ObjectInputStreamTest.java | 128 ByteArrayOutputStream bao; field in class:ObjectInputStreamTest 140 Support_ASimpleInputStream sis = new Support_ASimpleInputStream(bao.toByteArray()); 172 Support_ASimpleInputStream sis = new Support_ASimpleInputStream(bao.toByteArray()); 190 Support_ASimpleInputStream sis = new Support_ASimpleInputStream(bao.toByteArray()); 217 Support_ASimpleInputStream sis = new Support_ASimpleInputStream(bao.toByteArray()); 235 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 257 Support_ASimpleInputStream sis = new Support_ASimpleInputStream(bao.toByteArray()); 274 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 280 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 295 Support_ASimpleInputStream sis = new Support_ASimpleInputStream(bao [all...] |
Completed in 249 milliseconds