Searched refs:READ_THROWS (Results 1 – 12 of 12) sorted by relevance
/external/guava/android/guava-tests/test/com/google/common/io/ |
D | TestInputStream.java | 22 import static com.google.common.io.TestOption.READ_THROWS; 54 throwIf(READ_THROWS); in read() 61 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() 111 TestInputStream in = new TestInputStream(new ByteArrayInputStream(new byte[10]), READ_THROWS); in testClosesOnErrors_writingFromInputStreamThatThrows()
|
D | CharSinkTest.java | 21 import static com.google.common.io.TestOption.READ_THROWS; 93 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; 196 TestCharSource failSource = new TestCharSource(STRING, READ_THROWS); in testClosesOnErrors_whenReadThrows() 248 static final CharSource BROKEN_READ_SOURCE = new TestCharSource("ABC", READ_THROWS);
|
D | ByteSourceTest.java | 23 import static com.google.common.io.TestOption.READ_THROWS; 335 TestByteSource failSource = new TestByteSource(bytes, READ_THROWS); in testClosesOnErrors_whenReadThrows() 387 new TestByteSource(new byte[10], READ_THROWS);
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | TestInputStream.java | 22 import static com.google.common.io.TestOption.READ_THROWS; 54 throwIf(READ_THROWS); in read() 61 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() 111 TestInputStream in = new TestInputStream(new ByteArrayInputStream(new byte[10]), READ_THROWS); in testClosesOnErrors_writingFromInputStreamThatThrows()
|
D | CharSinkTest.java | 21 import static com.google.common.io.TestOption.READ_THROWS; 104 for (TestOption option : EnumSet.of(OPEN_THROWS, READ_THROWS, CLOSE_THROWS)) { in testClosesOnErrors_copyingFromCharSourceThatThrows() 133 okSink.writeFrom(new TestReader(READ_THROWS)); in testClosesOnErrors_whenWritingFromReaderThatThrows()
|
D | TestOption.java | 27 READ_THROWS, enumConstant
|
D | CharSourceTest.java | 22 import static com.google.common.io.TestOption.READ_THROWS; 226 TestCharSource failSource = new TestCharSource(STRING, READ_THROWS); in testClosesOnErrors_whenReadThrows() 278 static final CharSource BROKEN_READ_SOURCE = new TestCharSource("ABC", READ_THROWS);
|
D | ByteSourceTest.java | 23 import static com.google.common.io.TestOption.READ_THROWS; 335 TestByteSource failSource = new TestByteSource(bytes, READ_THROWS); in testClosesOnErrors_whenReadThrows() 387 new TestByteSource(new byte[10], READ_THROWS);
|