Home
last modified time | relevance | path

Searched refs:WRITE_THROWS (Results 1 – 12 of 12) sorted by relevance

/external/guava/android/guava-tests/test/com/google/common/io/
DTestOutputStream.java22 import static com.google.common.io.TestOption.WRITE_THROWS;
53 throwIf(WRITE_THROWS); in write()
60 throwIf(WRITE_THROWS); in write()
DByteSinkTest.java22 import static com.google.common.io.TestOption.WRITE_THROWS;
99 TestByteSink failSink = new TestByteSink(WRITE_THROWS); in testClosesOnErrors_whenWriteThrows()
DCharSinkTest.java22 import static com.google.common.io.TestOption.WRITE_THROWS;
110 TestCharSink failSink = new TestCharSink(WRITE_THROWS); in testClosesOnErrors_whenWriteThrows()
DCharSourceTest.java22 import static com.google.common.io.TestOption.WRITE_THROWS;
180 for (TestOption option : EnumSet.of(OPEN_THROWS, WRITE_THROWS, CLOSE_THROWS)) { in testClosesOnErrors_copyingToCharSinkThatThrows()
208 okSource.copyTo(new TestWriter(WRITE_THROWS)); in testClosesOnErrors_copyingToWriterThatThrows()
251 static final CharSink BROKEN_WRITE_SINK = new TestCharSink(WRITE_THROWS);
DTestOption.java28 WRITE_THROWS, enumConstant
DByteSourceTest.java25 import static com.google.common.io.TestOption.WRITE_THROWS;
319 for (TestOption option : EnumSet.of(OPEN_THROWS, WRITE_THROWS, CLOSE_THROWS)) { in testClosesOnErrors_copyingToByteSinkThatThrows()
347 OutputStream out = new TestOutputStream(ByteStreams.nullOutputStream(), WRITE_THROWS); in testClosesOnErrors_copyingToOutputStreamThatThrows()
390 private static final ByteSink BROKEN_WRITE_SINK = new TestByteSink(WRITE_THROWS);
/external/guava/guava-tests/test/com/google/common/io/
DTestOutputStream.java22 import static com.google.common.io.TestOption.WRITE_THROWS;
53 throwIf(WRITE_THROWS); in write()
60 throwIf(WRITE_THROWS); in write()
DByteSinkTest.java22 import static com.google.common.io.TestOption.WRITE_THROWS;
99 TestByteSink failSink = new TestByteSink(WRITE_THROWS); in testClosesOnErrors_whenWriteThrows()
DCharSinkTest.java22 import static com.google.common.io.TestOption.WRITE_THROWS;
121 TestCharSink failSink = new TestCharSink(WRITE_THROWS); in testClosesOnErrors_whenWriteThrows()
DCharSourceTest.java23 import static com.google.common.io.TestOption.WRITE_THROWS;
210 for (TestOption option : EnumSet.of(OPEN_THROWS, WRITE_THROWS, CLOSE_THROWS)) { in testClosesOnErrors_copyingToCharSinkThatThrows()
238 okSource.copyTo(new TestWriter(WRITE_THROWS)); in testClosesOnErrors_copyingToWriterThatThrows()
281 static final CharSink BROKEN_WRITE_SINK = new TestCharSink(WRITE_THROWS);
DTestOption.java28 WRITE_THROWS, enumConstant
DByteSourceTest.java25 import static com.google.common.io.TestOption.WRITE_THROWS;
319 for (TestOption option : EnumSet.of(OPEN_THROWS, WRITE_THROWS, CLOSE_THROWS)) { in testClosesOnErrors_copyingToByteSinkThatThrows()
347 OutputStream out = new TestOutputStream(ByteStreams.nullOutputStream(), WRITE_THROWS); in testClosesOnErrors_copyingToOutputStreamThatThrows()
390 private static final ByteSink BROKEN_WRITE_SINK = new TestByteSink(WRITE_THROWS);