Searched refs:byteArrayOutputStream (Results 1 – 10 of 10) sorted by relevance
78 ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); in testWriteAndReadExternal() local79 ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteArrayOutputStream); in testWriteAndReadExternal()85 new ObjectInputStream(new ByteArrayInputStream(byteArrayOutputStream.toByteArray())); in testWriteAndReadExternal()93 ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); in testReadExternalThrowsIOExceptionWithMalformedData() local94 ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteArrayOutputStream); in testReadExternalThrowsIOExceptionWithMalformedData()98 new ObjectInputStream(new ByteArrayInputStream(byteArrayOutputStream.toByteArray())); in testReadExternalThrowsIOExceptionWithMalformedData()
61 ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); in testReadWriteExternal() local62 ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteArrayOutputStream); in testReadWriteExternal()68 new ObjectInputStream(new ByteArrayInputStream(byteArrayOutputStream.toByteArray()))); in testReadWriteExternal()
163 ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); in createNewPhonePrefixMap() local164 ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteArrayOutputStream); in createNewPhonePrefixMap()170 new ObjectInputStream(new ByteArrayInputStream(byteArrayOutputStream.toByteArray()))); in createNewPhonePrefixMap()
158 ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); in createNewPrefixTimeZonesMap() local159 ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteArrayOutputStream); in createNewPrefixTimeZonesMap()165 new ObjectInputStream(new ByteArrayInputStream(byteArrayOutputStream.toByteArray()))); in createNewPrefixTimeZonesMap()
51 private final ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); field in DetectLoggerNameMismatchTest56 System.setErr(new PrintStream(byteArrayOutputStream)); in setUp()93 … of byteArrayOutputStream: " + String.valueOf(byteArrayOutputStream), String.valueOf(byteArrayOutp… in testTriggerWholeMessage()109 … assertEquals(mismatchDetected, String.valueOf(byteArrayOutputStream).contains(MISMATCH_STRING)); in assertMismatchDetected()
63 ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); in getSizeOfPhonePrefixMapStorage() local64 ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteArrayOutputStream); in getSizeOfPhonePrefixMapStorage()67 int sizeOfStorage = byteArrayOutputStream.size(); in getSizeOfPhonePrefixMapStorage()
92 ByteArrayOutputStream byteArrayOutputStream = invokeServer("GET / HTTP/1.1"); in thatChunkedContentIsChunked() local94 assertResponse(byteArrayOutputStream, expected); in thatChunkedContentIsChunked()
318 ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); in toByteString() local319 CodedOutputStream output = CodedOutputStream.newInstance(byteArrayOutputStream); in toByteString()326 return ByteString.copyFrom(byteArrayOutputStream.toByteArray()); in toByteString()
644 ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); in serializeCycle() local645 ObjectOutputStream output = new ObjectOutputStream(byteArrayOutputStream); in serializeCycle()649 byte[] bytes = byteArrayOutputStream.toByteArray(); in serializeCycle()
263 ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); in visitAnyAttribute() local267 dataOutput = new RuntimeDataOutput(new DataOutputStream(byteArrayOutputStream)); in visitAnyAttribute()278 byte[] info = byteArrayOutputStream.toByteArray(); in visitAnyAttribute()