Searched refs:CLOSE_THROWS (Results 1 – 8 of 8) sorted by relevance
/external/guava/guava-tests/test/com/google/common/io/ |
D | TestOutputStream.java | 20 import static com.google.common.io.TestOption.CLOSE_THROWS; 71 throwIf(CLOSE_THROWS); in close()
|
D | TestInputStream.java | 20 import static com.google.common.io.TestOption.CLOSE_THROWS; 84 throwIf(CLOSE_THROWS); in close()
|
D | CloseablesTest.java | 72 new ByteArrayInputStream(new byte[1]), TestOption.CLOSE_THROWS); in testCloseQuietly_inputStreamWithEatenException() 78 TestReader in = new TestReader(TestOption.CLOSE_THROWS); in testCloseQuietly_readerWithEatenException()
|
D | ByteSinkTest.java | 19 import static com.google.common.io.TestOption.CLOSE_THROWS; 82 for (TestOption option : EnumSet.of(OPEN_THROWS, READ_THROWS, CLOSE_THROWS)) { in testClosesOnErrors_copyingFromByteSourceThatThrows()
|
D | CharSinkTest.java | 19 import static com.google.common.io.TestOption.CLOSE_THROWS; 94 for (TestOption option : EnumSet.of(OPEN_THROWS, READ_THROWS, CLOSE_THROWS)) { in testClosesOnErrors_copyingFromCharSourceThatThrows()
|
D | CharSourceTest.java | 19 import static com.google.common.io.TestOption.CLOSE_THROWS; 171 for (TestOption option : EnumSet.of(OPEN_THROWS, WRITE_THROWS, CLOSE_THROWS)) { in testClosesOnErrors_copyingToCharSinkThatThrows() 242 static final CharSource BROKEN_CLOSE_SOURCE = new TestCharSource("ABC", CLOSE_THROWS); 245 static final CharSink BROKEN_CLOSE_SINK = new TestCharSink(CLOSE_THROWS);
|
D | TestOption.java | 29 CLOSE_THROWS, enumConstant
|
D | ByteSourceTest.java | 21 import static com.google.common.io.TestOption.CLOSE_THROWS; 246 for (TestOption option : EnumSet.of(OPEN_THROWS, WRITE_THROWS, CLOSE_THROWS)) { in testClosesOnErrors_copyingToByteSinkThatThrows() 312 = new TestByteSource(new byte[10], CLOSE_THROWS); 318 = new TestByteSink(CLOSE_THROWS);
|