Home
last modified time | relevance | path

Searched refs:failSource (Results 1 – 4 of 4) sorted by relevance

/external/guava/guava-tests/test/com/google/common/io/
DByteSinkTest.java83 TestByteSource failSource = new TestByteSource(new byte[10], option); in testClosesOnErrors_copyingFromByteSourceThatThrows() local
86 failSource.copyTo(okSink); in testClosesOnErrors_copyingFromByteSourceThatThrows()
DCharSinkTest.java95 TestCharSource failSource = new TestCharSource(STRING, option); in testClosesOnErrors_copyingFromCharSourceThatThrows() local
98 failSource.copyTo(okSink); in testClosesOnErrors_copyingFromCharSourceThatThrows()
DCharSourceTest.java186 TestCharSource failSource = new TestCharSource(STRING, READ_THROWS); in testClosesOnErrors_whenReadThrows() local
188 failSource.copyTo(new TestCharSink()); in testClosesOnErrors_whenReadThrows()
192 assertTrue(failSource.wasStreamClosed()); in testClosesOnErrors_whenReadThrows()
DByteSourceTest.java261 TestByteSource failSource = new TestByteSource(bytes, READ_THROWS); in testClosesOnErrors_whenReadThrows() local
263 failSource.copyTo(new TestByteSink()); in testClosesOnErrors_whenReadThrows()
267 assertTrue(failSource.wasStreamClosed()); in testClosesOnErrors_whenReadThrows()