Searched refs:WRITE_THROWS (Results 1 – 12 of 12) sorted by relevance
/external/guava/android/guava-tests/test/com/google/common/io/ |
D | TestOutputStream.java | 22 import static com.google.common.io.TestOption.WRITE_THROWS; 53 throwIf(WRITE_THROWS); in write() 60 throwIf(WRITE_THROWS); in write()
|
D | ByteSinkTest.java | 22 import static com.google.common.io.TestOption.WRITE_THROWS; 99 TestByteSink failSink = new TestByteSink(WRITE_THROWS); in testClosesOnErrors_whenWriteThrows()
|
D | CharSinkTest.java | 22 import static com.google.common.io.TestOption.WRITE_THROWS; 110 TestCharSink failSink = new TestCharSink(WRITE_THROWS); in testClosesOnErrors_whenWriteThrows()
|
D | CharSourceTest.java | 22 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);
|
D | TestOption.java | 28 WRITE_THROWS, enumConstant
|
D | ByteSourceTest.java | 25 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/ |
D | TestOutputStream.java | 22 import static com.google.common.io.TestOption.WRITE_THROWS; 53 throwIf(WRITE_THROWS); in write() 60 throwIf(WRITE_THROWS); in write()
|
D | ByteSinkTest.java | 22 import static com.google.common.io.TestOption.WRITE_THROWS; 99 TestByteSink failSink = new TestByteSink(WRITE_THROWS); in testClosesOnErrors_whenWriteThrows()
|
D | CharSinkTest.java | 22 import static com.google.common.io.TestOption.WRITE_THROWS; 121 TestCharSink failSink = new TestCharSink(WRITE_THROWS); in testClosesOnErrors_whenWriteThrows()
|
D | CharSourceTest.java | 23 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);
|
D | TestOption.java | 28 WRITE_THROWS, enumConstant
|
D | ByteSourceTest.java | 25 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);
|