Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/io/
DTestOutputStream.java22 import static com.google.common.io.TestOption.WRITE_THROWS;
56 throwIf(WRITE_THROWS); in write()
63 throwIf(WRITE_THROWS); in write()
DByteSinkTest.java22 import static com.google.common.io.TestOption.WRITE_THROWS;
97 TestByteSink failSink = new TestByteSink(WRITE_THROWS); in testClosesOnErrors_whenWriteThrows()
DCharSourceTest.java22 import static com.google.common.io.TestOption.WRITE_THROWS;
171 for (TestOption option : EnumSet.of(OPEN_THROWS, WRITE_THROWS, CLOSE_THROWS)) { in testClosesOnErrors_copyingToCharSinkThatThrows()
198 okSource.copyTo(new TestWriter(WRITE_THROWS)); in testClosesOnErrors_copyingToWriterThatThrows()
244 static final CharSink BROKEN_WRITE_SINK = new TestCharSink(WRITE_THROWS);
DCharSinkTest.java22 import static com.google.common.io.TestOption.WRITE_THROWS;
110 TestCharSink failSink = new TestCharSink(WRITE_THROWS); in testClosesOnErrors_whenWriteThrows()
DByteSourceTest.java25 import static com.google.common.io.TestOption.WRITE_THROWS;
246 for (TestOption option : EnumSet.of(OPEN_THROWS, WRITE_THROWS, CLOSE_THROWS)) { in testClosesOnErrors_copyingToByteSinkThatThrows()
273 OutputStream out = new TestOutputStream(ByteStreams.nullOutputStream(), WRITE_THROWS); in testClosesOnErrors_copyingToOutputStreamThatThrows()
322 = new TestByteSink(WRITE_THROWS);
DTestOption.java28 WRITE_THROWS, enumConstant