Home
last modified time | relevance | path

Searched refs:OPEN_THROWS (Results 1 – 14 of 14) sorted by relevance

/external/guava/android/guava-tests/test/com/google/common/io/
DTestOutputStream.java21 import static com.google.common.io.TestOption.OPEN_THROWS;
43 throwIf(OPEN_THROWS); in TestOutputStream()
DTestInputStream.java21 import static com.google.common.io.TestOption.OPEN_THROWS;
44 throwIf(OPEN_THROWS); in TestInputStream()
DByteSinkTest.java20 import static com.google.common.io.TestOption.OPEN_THROWS;
82 for (TestOption option : EnumSet.of(OPEN_THROWS, READ_THROWS, CLOSE_THROWS)) { in testClosesOnErrors_copyingFromByteSourceThatThrows()
DCharSinkTest.java20 import static com.google.common.io.TestOption.OPEN_THROWS;
93 for (TestOption option : EnumSet.of(OPEN_THROWS, READ_THROWS, CLOSE_THROWS)) { in testClosesOnErrors_copyingFromCharSourceThatThrows()
DCharSourceTest.java20 import static com.google.common.io.TestOption.OPEN_THROWS;
180 for (TestOption option : EnumSet.of(OPEN_THROWS, WRITE_THROWS, CLOSE_THROWS)) { in testClosesOnErrors_copyingToCharSinkThatThrows()
250 static final CharSource BROKEN_OPEN_SOURCE = new TestCharSource("ABC", OPEN_THROWS);
253 static final CharSink BROKEN_OPEN_SINK = new TestCharSink(OPEN_THROWS);
DTestOption.java25 OPEN_THROWS, enumConstant
DByteSourceTest.java22 import static com.google.common.io.TestOption.OPEN_THROWS;
319 for (TestOption option : EnumSet.of(OPEN_THROWS, WRITE_THROWS, CLOSE_THROWS)) { in testClosesOnErrors_copyingToByteSinkThatThrows()
385 new TestByteSource(new byte[10], OPEN_THROWS);
389 private static final ByteSink BROKEN_OPEN_SINK = new TestByteSink(OPEN_THROWS);
/external/guava/guava-tests/test/com/google/common/io/
DTestOutputStream.java21 import static com.google.common.io.TestOption.OPEN_THROWS;
43 throwIf(OPEN_THROWS); in TestOutputStream()
DTestInputStream.java21 import static com.google.common.io.TestOption.OPEN_THROWS;
44 throwIf(OPEN_THROWS); in TestInputStream()
DByteSinkTest.java20 import static com.google.common.io.TestOption.OPEN_THROWS;
82 for (TestOption option : EnumSet.of(OPEN_THROWS, READ_THROWS, CLOSE_THROWS)) { in testClosesOnErrors_copyingFromByteSourceThatThrows()
DCharSinkTest.java20 import static com.google.common.io.TestOption.OPEN_THROWS;
104 for (TestOption option : EnumSet.of(OPEN_THROWS, READ_THROWS, CLOSE_THROWS)) { in testClosesOnErrors_copyingFromCharSourceThatThrows()
DCharSourceTest.java21 import static com.google.common.io.TestOption.OPEN_THROWS;
210 for (TestOption option : EnumSet.of(OPEN_THROWS, WRITE_THROWS, CLOSE_THROWS)) { in testClosesOnErrors_copyingToCharSinkThatThrows()
280 static final CharSource BROKEN_OPEN_SOURCE = new TestCharSource("ABC", OPEN_THROWS);
283 static final CharSink BROKEN_OPEN_SINK = new TestCharSink(OPEN_THROWS);
DTestOption.java25 OPEN_THROWS, enumConstant
DByteSourceTest.java22 import static com.google.common.io.TestOption.OPEN_THROWS;
319 for (TestOption option : EnumSet.of(OPEN_THROWS, WRITE_THROWS, CLOSE_THROWS)) { in testClosesOnErrors_copyingToByteSinkThatThrows()
385 new TestByteSource(new byte[10], OPEN_THROWS);
389 private static final ByteSink BROKEN_OPEN_SINK = new TestByteSink(OPEN_THROWS);