Searched refs:TestByteSink (Results 1 – 6 of 6) sorted by relevance
39 private TestByteSink sink;43 sink = new TestByteSink(); in setUp()84 TestByteSink okSink = new TestByteSink(); in testClosesOnErrors_copyingFromByteSourceThatThrows()97 TestByteSink failSink = new TestByteSink(WRITE_THROWS); in testClosesOnErrors_whenWriteThrows()107 TestByteSink okSink = new TestByteSink(); in testClosesOnErrors_writingFromInputStreamThatThrows()
105 TestByteSink sink = new TestByteSink(); in testCopyTo_byteSink()249 okSource.copyTo(new TestByteSink(option)); in testClosesOnErrors_copyingToByteSinkThatThrows()263 failSource.copyTo(new TestByteSink()); in testClosesOnErrors_whenReadThrows()318 = new TestByteSink(CLOSE_THROWS);320 = new TestByteSink(OPEN_THROWS);322 = new TestByteSink(WRITE_THROWS);
30 public class TestByteSink extends ByteSink implements TestStreamSupplier { class38 public TestByteSink(TestOption... options) { in TestByteSink() method in TestByteSink
33 private final TestByteSink byteSink;36 this.byteSink = new TestByteSink(options); in TestCharSink()
45 void TestByteSink();
170 TESTCASE_AUTO(TestByteSink); in runIndexedTest()361 StringTest::TestByteSink() { in TestByteSink() function in StringTest