Searched refs:CLOSE_THROWS (Results 1 – 16 of 16) sorted by relevance
/external/guava/android/guava-tests/test/com/google/common/io/ |
D | TestOutputStream.java | 20 import static com.google.common.io.TestOption.CLOSE_THROWS; 68 throwIf(CLOSE_THROWS); in close()
|
D | CloseablesTest.java | 67 new TestInputStream(new ByteArrayInputStream(new byte[1]), TestOption.CLOSE_THROWS); in testCloseQuietly_inputStreamWithEatenException() 73 TestReader in = new TestReader(TestOption.CLOSE_THROWS); in testCloseQuietly_readerWithEatenException()
|
D | TestInputStream.java | 20 import static com.google.common.io.TestOption.CLOSE_THROWS; 81 throwIf(CLOSE_THROWS); in close()
|
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; 93 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; 180 for (TestOption option : EnumSet.of(OPEN_THROWS, WRITE_THROWS, CLOSE_THROWS)) { in testClosesOnErrors_copyingToCharSinkThatThrows() 249 static final CharSource BROKEN_CLOSE_SOURCE = new TestCharSource("ABC", CLOSE_THROWS); 252 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; 319 for (TestOption option : EnumSet.of(OPEN_THROWS, WRITE_THROWS, CLOSE_THROWS)) { in testClosesOnErrors_copyingToByteSinkThatThrows() 383 new TestByteSource(new byte[10], CLOSE_THROWS); 388 private static final ByteSink BROKEN_CLOSE_SINK = new TestByteSink(CLOSE_THROWS);
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | TestOutputStream.java | 20 import static com.google.common.io.TestOption.CLOSE_THROWS; 68 throwIf(CLOSE_THROWS); in close()
|
D | CloseablesTest.java | 67 new TestInputStream(new ByteArrayInputStream(new byte[1]), TestOption.CLOSE_THROWS); in testCloseQuietly_inputStreamWithEatenException() 73 TestReader in = new TestReader(TestOption.CLOSE_THROWS); in testCloseQuietly_readerWithEatenException()
|
D | TestInputStream.java | 20 import static com.google.common.io.TestOption.CLOSE_THROWS; 81 throwIf(CLOSE_THROWS); in close()
|
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; 104 for (TestOption option : EnumSet.of(OPEN_THROWS, READ_THROWS, CLOSE_THROWS)) { in testClosesOnErrors_copyingFromCharSourceThatThrows()
|
D | CharSourceTest.java | 20 import static com.google.common.io.TestOption.CLOSE_THROWS; 210 for (TestOption option : EnumSet.of(OPEN_THROWS, WRITE_THROWS, CLOSE_THROWS)) { in testClosesOnErrors_copyingToCharSinkThatThrows() 279 static final CharSource BROKEN_CLOSE_SOURCE = new TestCharSource("ABC", CLOSE_THROWS); 282 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; 319 for (TestOption option : EnumSet.of(OPEN_THROWS, WRITE_THROWS, CLOSE_THROWS)) { in testClosesOnErrors_copyingToByteSinkThatThrows() 383 new TestByteSource(new byte[10], CLOSE_THROWS); 388 private static final ByteSink BROKEN_CLOSE_SINK = new TestByteSink(CLOSE_THROWS);
|