Home
last modified time | relevance | path

Searched refs:TestCharSink (Results 1 – 4 of 4) sorted by relevance

/external/guava/guava-tests/test/com/google/common/io/
DCharSinkTest.java40 private TestCharSink sink;
44 sink = new TestCharSink(); in setUp()
96 TestCharSink okSink = new TestCharSink(); in testClosesOnErrors_copyingFromCharSourceThatThrows()
110 TestCharSink failSink = new TestCharSink(WRITE_THROWS); in testClosesOnErrors_whenWriteThrows()
120 TestCharSink okSink = new TestCharSink(); in testClosesOnErrors_whenWritingFromReaderThatThrows()
DCharSourceTest.java95 TestCharSink sink = new TestCharSink(); in testCopyTo_charSink()
174 okSource.copyTo(new TestCharSink(option)); in testClosesOnErrors_copyingToCharSinkThatThrows()
188 failSource.copyTo(new TestCharSink()); in testClosesOnErrors_whenReadThrows()
244 static final CharSink BROKEN_WRITE_SINK = new TestCharSink(WRITE_THROWS);
245 static final CharSink BROKEN_CLOSE_SINK = new TestCharSink(CLOSE_THROWS);
246 static final CharSink BROKEN_OPEN_SINK = new TestCharSink(OPEN_THROWS);
DTestCharSink.java31 public class TestCharSink extends CharSink implements TestStreamSupplier { class
35 public TestCharSink(TestOption... options) { in TestCharSink() method in TestCharSink
DCharSourceTester.java117 TestCharSink sink = new TestCharSink(); in testCopyTo_charSink()