Home
last modified time | relevance | path

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

/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/internal/ws/
DRealWebSocketTest.java192 serverListener.assertClose(1000, "Hello!"); in close()
194 clientListener.assertClose(1000, "Hello!"); in close()
271 clientListener.assertClose(1000, "Hello!"); in serverCloseThenWritingPingThrows()
284 clientListener.assertClose(1000, "Hello!"); in serverCloseThenWritingMessageThrows()
297 clientListener.assertClose(1000, "Hello!"); in serverCloseThenWritingCloseThrows()
319 clientListener.assertClose(1000, "Hello!"); in serverCloseWhileWritingThrows()
342 serverListener.assertClose(1000, "Hello!"); in clientCloseClosesConnection()
346 clientListener.assertClose(1000, "Hello!"); in clientCloseClosesConnection()
354 clientListener.assertClose(1000, "Hello!"); in serverCloseClosesConnection()
357 serverListener.assertClose(1000, "Hello!"); in serverCloseClosesConnection()
[all …]
DWebSocketReaderTest.java347 callback.assertClose(1000, ""); in emptyCloseCallsCallback()
363 callback.assertClose(1000, "Hello"); in closeCallsCallback()
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
DSurfaceTextureHelperTest.java102 public static void assertClose(int threshold, int expected, int actual) { in assertClose() method in SurfaceTextureHelperTest
426 assertClose(1, buffer.get() & 0xff, ref_y[i]); in testTexturetoYUV()
430 assertClose(1, buffer.get() & 0xff, ref_u[i]); in testTexturetoYUV()
432 assertClose(1, buffer.get() & 0xff, ref_v[i]); in testTexturetoYUV()
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/ws/
DWebSocketRecorder.java126 public void assertClose(int code, String reason) throws IOException { in assertClose() method in WebSocketRecorder