Home
last modified time | relevance | path

Searched refs:failSink (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/
DVideoTrackTest.java105 final VideoSink failSink = new VideoSink() { in testAddingAndRemovingVideoSink() local
111 videoTrack.addSink(failSink); in testAddingAndRemovingVideoSink()
112 videoTrack.removeSink(failSink); in testAddingAndRemovingVideoSink()
/external/guava/guava-tests/test/com/google/common/io/
DByteSinkTest.java99 TestByteSink failSink = new TestByteSink(WRITE_THROWS); in testClosesOnErrors_whenWriteThrows() local
101 new TestByteSource(new byte[10]).copyTo(failSink); in testClosesOnErrors_whenWriteThrows()
105 assertTrue(failSink.wasStreamClosed()); in testClosesOnErrors_whenWriteThrows()
DCharSinkTest.java121 TestCharSink failSink = new TestCharSink(WRITE_THROWS); in testClosesOnErrors_whenWriteThrows() local
123 new TestCharSource(STRING).copyTo(failSink); in testClosesOnErrors_whenWriteThrows()
127 assertTrue(failSink.wasStreamClosed()); in testClosesOnErrors_whenWriteThrows()
/external/guava/android/guava-tests/test/com/google/common/io/
DByteSinkTest.java99 TestByteSink failSink = new TestByteSink(WRITE_THROWS); in testClosesOnErrors_whenWriteThrows() local
101 new TestByteSource(new byte[10]).copyTo(failSink); in testClosesOnErrors_whenWriteThrows()
105 assertTrue(failSink.wasStreamClosed()); in testClosesOnErrors_whenWriteThrows()
DCharSinkTest.java110 TestCharSink failSink = new TestCharSink(WRITE_THROWS); in testClosesOnErrors_whenWriteThrows() local
112 new TestCharSource(STRING).copyTo(failSink); in testClosesOnErrors_whenWriteThrows()
116 assertTrue(failSink.wasStreamClosed()); in testClosesOnErrors_whenWriteThrows()