Home
last modified time | relevance | path

Searched refs:wasStreamClosed (Results 1 – 9 of 9) sorted by relevance

/external/guava/guava-tests/test/com/google/common/io/
DByteSinkTest.java49 assertFalse(sink.wasStreamClosed()); in testOpenBufferedStream()
54 assertTrue(sink.wasStreamClosed()); in testOpenBufferedStream()
62 assertTrue(sink.wasStreamOpened() && sink.wasStreamClosed()); in testWrite_bytes()
70 assertTrue(sink.wasStreamOpened() && sink.wasStreamClosed()); in testWriteFrom_inputStream()
92 !okSink.wasStreamOpened() || okSink.wasStreamClosed()); in testClosesOnErrors_copyingFromByteSourceThatThrows()
103 assertTrue(failSink.wasStreamClosed()); in testClosesOnErrors_whenWriteThrows()
115 assertTrue(okSink.wasStreamClosed()); in testClosesOnErrors_writingFromInputStreamThatThrows()
DCharSourceTest.java70 assertFalse(source.wasStreamClosed()); in testOpenBufferedStream()
81 assertTrue(source.wasStreamClosed()); in testOpenBufferedStream()
89 assertTrue(source.wasStreamOpened() && source.wasStreamClosed()); in testCopyTo_appendable()
97 assertFalse(sink.wasStreamOpened() || sink.wasStreamClosed()); in testCopyTo_charSink()
100 assertTrue(source.wasStreamOpened() && source.wasStreamClosed()); in testCopyTo_charSink()
101 assertTrue(sink.wasStreamOpened() && sink.wasStreamClosed()); in testCopyTo_charSink()
108 assertTrue(source.wasStreamOpened() && source.wasStreamClosed()); in testRead_toString()
114 assertTrue(lines.wasStreamOpened() && lines.wasStreamClosed()); in testReadFirstLine()
120 assertTrue(lines.wasStreamOpened() && lines.wasStreamClosed()); in testReadLines_toList()
140 assertTrue(lines.wasStreamOpened() && lines.wasStreamClosed()); in testReadLines_withProcessor()
[all …]
DCharSinkTest.java50 assertFalse(sink.wasStreamClosed()); in testOpenBufferedStream()
55 assertTrue(sink.wasStreamClosed()); in testOpenBufferedStream()
63 assertTrue(sink.wasStreamOpened() && sink.wasStreamClosed()); in testWrite_string()
71 assertTrue(sink.wasStreamOpened() && sink.wasStreamClosed()); in testWriteFrom_reader()
105 !okSink.wasStreamOpened() || okSink.wasStreamClosed()); in testClosesOnErrors_copyingFromCharSourceThatThrows()
116 assertTrue(failSink.wasStreamClosed()); in testClosesOnErrors_whenWriteThrows()
126 assertTrue(okSink.wasStreamClosed()); in testClosesOnErrors_whenWritingFromReaderThatThrows()
DByteSourceTest.java73 assertFalse(source.wasStreamClosed()); in testOpenBufferedStream()
80 assertTrue(source.wasStreamClosed()); in testOpenBufferedStream()
86 assertTrue(source.wasStreamOpened() && source.wasStreamClosed()); in testSize()
99 assertTrue(source.wasStreamOpened() && source.wasStreamClosed()); in testCopyTo_outputStream()
107 assertFalse(sink.wasStreamOpened() || sink.wasStreamClosed()); in testCopyTo_byteSink()
110 assertTrue(source.wasStreamOpened() && source.wasStreamClosed()); in testCopyTo_byteSink()
111 assertTrue(sink.wasStreamOpened() && sink.wasStreamClosed()); in testCopyTo_byteSink()
118 assertTrue(source.wasStreamOpened() && source.wasStreamClosed()); in testRead_toArray()
140 assertTrue(source.wasStreamOpened() && source.wasStreamClosed()); in testRead_withProcessor()
163 assertTrue(source.wasStreamOpened() && source.wasStreamClosed()); in testRead_withProcessor_stopsOnFalse()
[all …]
DTestCharSource.java44 public boolean wasStreamClosed() { in wasStreamClosed() method in TestCharSource
45 return byteSource.wasStreamClosed(); in wasStreamClosed()
DTestCharSink.java49 public boolean wasStreamClosed() { in wasStreamClosed() method in TestCharSink
50 return byteSink.wasStreamClosed(); in wasStreamClosed()
DTestStreamSupplier.java36 boolean wasStreamClosed(); in wasStreamClosed() method
DTestByteSink.java52 public boolean wasStreamClosed() { in wasStreamClosed() method in TestByteSink
DTestByteSource.java52 public boolean wasStreamClosed() { in wasStreamClosed() method in TestByteSource