Home
last modified time | relevance | path

Searched refs:assertClose (Results 1 – 6 of 6) 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/python/cpython2/Lib/test/
Dtest_complex.py63 def assertClose(self, x, y, eps=1e-9): member in ComplexTest
73 self.assertClose(q, y)
75 self.assertClose(q, y)
77 self.assertClose(q, y)
80 self.assertClose(q, x)
82 self.assertClose(q, x)
84 self.assertClose(q, x)
224 self.assertClose(complex(5.3, 9.8).conjugate(), 5.3-9.8j)
/external/python/cpython3/Lib/test/
Dtest_complex.py66 def assertClose(self, x, y, eps=1e-9): member in ComplexTest
76 self.assertClose(q, y)
78 self.assertClose(q, y)
81 self.assertClose(q, x)
83 self.assertClose(q, x)
216 self.assertClose(complex(5.3, 9.8).conjugate(), 5.3-9.8j)
/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