Home
last modified time | relevance | path

Searched refs:READ_THROWS (Results 1 – 6 of 6) sorted by relevance

/external/guava/guava-tests/test/com/google/common/io/
DTestInputStream.java22 import static com.google.common.io.TestOption.READ_THROWS;
57 throwIf(READ_THROWS); in read()
64 throwIf(READ_THROWS); in read()
DByteSinkTest.java21 import static com.google.common.io.TestOption.READ_THROWS;
82 for (TestOption option : EnumSet.of(OPEN_THROWS, READ_THROWS, CLOSE_THROWS)) { in testClosesOnErrors_copyingFromByteSourceThatThrows()
110 new ByteArrayInputStream(new byte[10]), READ_THROWS); in testClosesOnErrors_writingFromInputStreamThatThrows()
DCharSinkTest.java21 import static com.google.common.io.TestOption.READ_THROWS;
94 for (TestOption option : EnumSet.of(OPEN_THROWS, READ_THROWS, CLOSE_THROWS)) { in testClosesOnErrors_copyingFromCharSourceThatThrows()
122 okSink.writeFrom(new TestReader(READ_THROWS)); in testClosesOnErrors_whenWritingFromReaderThatThrows()
DTestOption.java27 READ_THROWS, enumConstant
DCharSourceTest.java21 import static com.google.common.io.TestOption.READ_THROWS;
186 TestCharSource failSource = new TestCharSource(STRING, READ_THROWS); in testClosesOnErrors_whenReadThrows()
241 static final CharSource BROKEN_READ_SOURCE = new TestCharSource("ABC", READ_THROWS);
DByteSourceTest.java23 import static com.google.common.io.TestOption.READ_THROWS;
261 TestByteSource failSource = new TestByteSource(bytes, READ_THROWS); in testClosesOnErrors_whenReadThrows()
316 = new TestByteSource(new byte[10], READ_THROWS);