Home
last modified time | relevance | path

Searched refs:clientEvents (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/examples/androidjunit/src/org/appspot/apprtc/
DTCPChannelClientTest.java49 @Mock TCPChannelClient.TCPChannelEvents clientEvents; field in TCPChannelClientTest
96 verify(clientEvents, timeout(CONNECT_TIMEOUT)).onTCPConnected(false); in testConnectIPv4()
110 verify(clientEvents, timeout(CONNECT_TIMEOUT)).onTCPConnected(false); in testConnectIPv6()
126 verify(clientEvents, timeout(SEND_TIMEOUT)).onTCPMessage(TEST_MESSAGE_CLIENT); in testSendData()
140 verify(clientEvents, timeout(DISCONNECT_TIMEOUT)).onTCPClose(); in testDisconnectServer()
154 verify(clientEvents, timeout(DISCONNECT_TIMEOUT)).onTCPClose(); in testDisconnectClient()
178 client = new TCPChannelClient(executor, clientEvents, ip, port); in setUpClient()
186 verifyNoMoreInteractions(clientEvents); in verifyNoMoreEvents()
DDirectRTCClientTest.java51 AppRTCClient.SignalingEvents clientEvents; field in DirectRTCClientTest
58 clientEvents = mock(AppRTCClient.SignalingEvents.class); in setUp()
61 client = new DirectRTCClient(clientEvents); in setUp()
130 verify(clientEvents, timeout(NETWORK_TIMEOUT)) in testDirectRTCClient()
141 verify(clientEvents, timeout(NETWORK_TIMEOUT)) in testDirectRTCClient()
149 verify(clientEvents, timeout(NETWORK_TIMEOUT)).onChannelClose(); in testDirectRTCClient()
152 verifyNoMoreInteractions(clientEvents); in testDirectRTCClient()