Home
last modified time | relevance | path

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

/external/guava/android/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.java94 TestCharSource failSource = new TestCharSource(STRING, option); in testClosesOnErrors_copyingFromCharSourceThatThrows() local
97 failSource.copyTo(okSink); in testClosesOnErrors_copyingFromCharSourceThatThrows()
DCharSourceTest.java196 TestCharSource failSource = new TestCharSource(STRING, READ_THROWS); in testClosesOnErrors_whenReadThrows() local
198 failSource.copyTo(new TestCharSink()); in testClosesOnErrors_whenReadThrows()
202 assertTrue(failSource.wasStreamClosed()); in testClosesOnErrors_whenReadThrows()
DByteSourceTest.java335 TestByteSource failSource = new TestByteSource(bytes, READ_THROWS); in testClosesOnErrors_whenReadThrows() local
337 failSource.copyTo(new TestByteSink()); in testClosesOnErrors_whenReadThrows()
341 assertTrue(failSource.wasStreamClosed()); in testClosesOnErrors_whenReadThrows()
/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.java105 TestCharSource failSource = new TestCharSource(STRING, option); in testClosesOnErrors_copyingFromCharSourceThatThrows() local
108 failSource.copyTo(okSink); in testClosesOnErrors_copyingFromCharSourceThatThrows()
DCharSourceTest.java226 TestCharSource failSource = new TestCharSource(STRING, READ_THROWS); in testClosesOnErrors_whenReadThrows() local
228 failSource.copyTo(new TestCharSink()); in testClosesOnErrors_whenReadThrows()
232 assertTrue(failSource.wasStreamClosed()); in testClosesOnErrors_whenReadThrows()
DByteSourceTest.java335 TestByteSource failSource = new TestByteSource(bytes, READ_THROWS); in testClosesOnErrors_whenReadThrows() local
337 failSource.copyTo(new TestByteSink()); in testClosesOnErrors_whenReadThrows()
341 assertTrue(failSource.wasStreamClosed()); in testClosesOnErrors_whenReadThrows()