Searched refs:failSink (Results 1 – 5 of 5) sorted by relevance
105 final VideoSink failSink = new VideoSink() { in testAddingAndRemovingVideoSink() local111 videoTrack.addSink(failSink); in testAddingAndRemovingVideoSink()112 videoTrack.removeSink(failSink); in testAddingAndRemovingVideoSink()
99 TestByteSink failSink = new TestByteSink(WRITE_THROWS); in testClosesOnErrors_whenWriteThrows() local101 new TestByteSource(new byte[10]).copyTo(failSink); in testClosesOnErrors_whenWriteThrows()105 assertTrue(failSink.wasStreamClosed()); in testClosesOnErrors_whenWriteThrows()
121 TestCharSink failSink = new TestCharSink(WRITE_THROWS); in testClosesOnErrors_whenWriteThrows() local123 new TestCharSource(STRING).copyTo(failSink); in testClosesOnErrors_whenWriteThrows()127 assertTrue(failSink.wasStreamClosed()); in testClosesOnErrors_whenWriteThrows()
110 TestCharSink failSink = new TestCharSink(WRITE_THROWS); in testClosesOnErrors_whenWriteThrows() local112 new TestCharSource(STRING).copyTo(failSink); in testClosesOnErrors_whenWriteThrows()116 assertTrue(failSink.wasStreamClosed()); in testClosesOnErrors_whenWriteThrows()