Searched refs:READ_THROWS (Results 1 – 6 of 6) sorted by relevance
/external/guava/guava-tests/test/com/google/common/io/ |
D | TestInputStream.java | 22 import static com.google.common.io.TestOption.READ_THROWS; 57 throwIf(READ_THROWS); in read() 64 throwIf(READ_THROWS); in read()
|
D | ByteSinkTest.java | 21 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()
|
D | CharSinkTest.java | 21 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()
|
D | TestOption.java | 27 READ_THROWS, enumConstant
|
D | CharSourceTest.java | 21 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);
|
D | ByteSourceTest.java | 23 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);
|