Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/io/
DCharSourceTest.java69 assertTrue(source.wasStreamOpened()); 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()
160 assertTrue(lines.wasStreamOpened() && lines.wasStreamClosed()); in testReadLines_withProcessor_stopsOnFalse()
[all …]
DByteSourceTest.java72 assertTrue(source.wasStreamOpened()); 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()
175 assertTrue(source.wasStreamOpened() && source.wasStreamClosed()); in testContentEquals()
[all …]
DByteSinkTest.java48 assertTrue(sink.wasStreamOpened()); 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()
DCharSinkTest.java49 assertTrue(sink.wasStreamOpened()); 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()
DTestCharSource.java39 public boolean wasStreamOpened() { in wasStreamOpened() method in TestCharSource
40 return byteSource.wasStreamOpened(); in wasStreamOpened()
DTestCharSink.java44 public boolean wasStreamOpened() { in wasStreamOpened() method in TestCharSink
45 return byteSink.wasStreamOpened(); in wasStreamOpened()
DTestStreamSupplier.java31 boolean wasStreamOpened(); in wasStreamOpened() method
DTestByteSink.java47 public boolean wasStreamOpened() { in wasStreamOpened() method in TestByteSink
DTestByteSource.java47 public boolean wasStreamOpened() { in wasStreamOpened() method in TestByteSource