Home
last modified time | relevance | path

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

/external/webrtc/examples/androidjunit/src/org/appspot/apprtc/
DDirectRTCClientTest.java52 AppRTCClient.SignalingEvents serverEvents; field in DirectRTCClientTest
59 serverEvents = mock(AppRTCClient.SignalingEvents.class); in setUp()
62 server = new DirectRTCClient(serverEvents); in setUp()
125 verify(serverEvents, timeout(NETWORK_TIMEOUT)) in testDirectRTCClient()
136 verify(serverEvents, timeout(NETWORK_TIMEOUT)) in testDirectRTCClient()
145 verify(serverEvents, timeout(NETWORK_TIMEOUT)) in testDirectRTCClient()
150 verify(serverEvents, timeout(NETWORK_TIMEOUT)).onChannelClose(); in testDirectRTCClient()
153 verifyNoMoreInteractions(serverEvents); in testDirectRTCClient()
DTCPChannelClientTest.java48 @Mock TCPChannelClient.TCPChannelEvents serverEvents; field in TCPChannelClientTest
95 verify(serverEvents, timeout(CONNECT_TIMEOUT)).onTCPConnected(true); in testConnectIPv4()
109 verify(serverEvents, timeout(CONNECT_TIMEOUT)).onTCPConnected(true); in testConnectIPv6()
125 verify(serverEvents, timeout(SEND_TIMEOUT)).onTCPMessage(TEST_MESSAGE_SERVER); in testSendData()
139 verify(serverEvents, timeout(DISCONNECT_TIMEOUT)).onTCPClose(); in testDisconnectServer()
153 verify(serverEvents, timeout(DISCONNECT_TIMEOUT)).onTCPClose(); in testDisconnectClient()
174 server = new TCPChannelClient(executor, serverEvents, ip, port); in setUpServer()
185 verifyNoMoreInteractions(serverEvents); in verifyNoMoreEvents()