Home
last modified time | relevance | path

Searched refs:CLOSE_THROWS (Results 1 – 16 of 16) sorted by relevance

/external/guava/android/guava-tests/test/com/google/common/io/
DTestOutputStream.java20 import static com.google.common.io.TestOption.CLOSE_THROWS;
68 throwIf(CLOSE_THROWS); in close()
DCloseablesTest.java67 new TestInputStream(new ByteArrayInputStream(new byte[1]), TestOption.CLOSE_THROWS); in testCloseQuietly_inputStreamWithEatenException()
73 TestReader in = new TestReader(TestOption.CLOSE_THROWS); in testCloseQuietly_readerWithEatenException()
DTestInputStream.java20 import static com.google.common.io.TestOption.CLOSE_THROWS;
81 throwIf(CLOSE_THROWS); in close()
DByteSinkTest.java19 import static com.google.common.io.TestOption.CLOSE_THROWS;
82 for (TestOption option : EnumSet.of(OPEN_THROWS, READ_THROWS, CLOSE_THROWS)) { in testClosesOnErrors_copyingFromByteSourceThatThrows()
DCharSinkTest.java19 import static com.google.common.io.TestOption.CLOSE_THROWS;
93 for (TestOption option : EnumSet.of(OPEN_THROWS, READ_THROWS, CLOSE_THROWS)) { in testClosesOnErrors_copyingFromCharSourceThatThrows()
DCharSourceTest.java19 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);
DTestOption.java29 CLOSE_THROWS, enumConstant
DByteSourceTest.java21 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/
DTestOutputStream.java20 import static com.google.common.io.TestOption.CLOSE_THROWS;
68 throwIf(CLOSE_THROWS); in close()
DCloseablesTest.java67 new TestInputStream(new ByteArrayInputStream(new byte[1]), TestOption.CLOSE_THROWS); in testCloseQuietly_inputStreamWithEatenException()
73 TestReader in = new TestReader(TestOption.CLOSE_THROWS); in testCloseQuietly_readerWithEatenException()
DTestInputStream.java20 import static com.google.common.io.TestOption.CLOSE_THROWS;
81 throwIf(CLOSE_THROWS); in close()
DByteSinkTest.java19 import static com.google.common.io.TestOption.CLOSE_THROWS;
82 for (TestOption option : EnumSet.of(OPEN_THROWS, READ_THROWS, CLOSE_THROWS)) { in testClosesOnErrors_copyingFromByteSourceThatThrows()
DCharSinkTest.java19 import static com.google.common.io.TestOption.CLOSE_THROWS;
104 for (TestOption option : EnumSet.of(OPEN_THROWS, READ_THROWS, CLOSE_THROWS)) { in testClosesOnErrors_copyingFromCharSourceThatThrows()
DCharSourceTest.java20 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);
DTestOption.java29 CLOSE_THROWS, enumConstant
DByteSourceTest.java21 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);