Home
last modified time | relevance | path

Searched refs:EXPECT_EQ_WAIT (Results 1 – 24 of 24) sorted by relevance

/external/webrtc/talk/app/webrtc/
Dvideosource_unittest.cc174 EXPECT_EQ_WAIT(MediaSourceInterface::kLive, state_observer_->state(), in TEST_F()
181 EXPECT_EQ_WAIT(MediaSourceInterface::kEnded, state_observer_->state(), in TEST_F()
189 EXPECT_EQ_WAIT(MediaSourceInterface::kLive, state_observer_->state(), in TEST_F()
196 EXPECT_EQ_WAIT(MediaSourceInterface::kEnded, state_observer_->state(), in TEST_F()
200 EXPECT_EQ_WAIT(MediaSourceInterface::kLive, state_observer_->state(), in TEST_F()
222 EXPECT_EQ_WAIT(MediaSourceInterface::kLive, state_observer_->state(), in TEST_F()
232 EXPECT_EQ_WAIT(MediaSourceInterface::kEnded, state_observer_->state(), in TEST_F()
240 EXPECT_EQ_WAIT(MediaSourceInterface::kLive, state_observer_->state(), in TEST_F()
244 EXPECT_EQ_WAIT(MediaSourceInterface::kEnded, state_observer_->state(), in TEST_F()
257 EXPECT_EQ_WAIT(MediaSourceInterface::kLive, state_observer_->state(), in TEST_F()
[all …]
Dpeerconnectionendtoend_unittest.cc138 EXPECT_EQ_WAIT(kDummyData, dc2_observer->last_message(), kMaxWait); in TestDataChannelSendAndReceive()
141 EXPECT_EQ_WAIT(kDummyData, dc1_observer->last_message(), kMaxWait); in TestDataChannelSendAndReceive()
150 EXPECT_EQ_WAIT(DataChannelInterface::kOpen, local_dc->state(), kMaxWait); in WaitForDataChannelsToOpen()
153 EXPECT_EQ_WAIT(DataChannelInterface::kOpen, in WaitForDataChannelsToOpen()
163 EXPECT_EQ_WAIT(DataChannelInterface::kClosed, local_dc->state(), kMaxWait); in CloseDataChannels()
164 EXPECT_EQ_WAIT(DataChannelInterface::kClosed, in CloseDataChannels()
320 EXPECT_EQ_WAIT(message_1, dc_1_observer->last_message(), kMaxWait); in TEST_F()
323 EXPECT_EQ_WAIT(message_2, dc_2_observer->last_message(), kMaxWait); in TEST_F()
381 EXPECT_EQ_WAIT(DataChannelInterface::kClosed, caller_dc->state(), kMaxWait); in TEST_F()
Ddatachannel_unittest.cc255 EXPECT_EQ_WAIT(webrtc::DataChannelInterface::kOpen, dc->state(), 1000); in TEST_F()
285 EXPECT_EQ_WAIT(webrtc::DataChannelInterface::kOpen, dc->state(), 1000); in TEST_F()
309 EXPECT_EQ_WAIT(webrtc::DataChannelInterface::kOpen, in TEST_F()
323 EXPECT_EQ_WAIT(webrtc::DataChannelInterface::kOpen, in TEST_F()
329 EXPECT_EQ_WAIT(webrtc::DataChannelInterface::kClosed, in TEST_F()
385 EXPECT_EQ_WAIT(webrtc::DataChannelInterface::kOpen, dc->state(), 1000); in TEST_F()
401 EXPECT_EQ_WAIT(webrtc::DataChannelInterface::kOpen, dc->state(), 1000); in TEST_F()
Dpeerconnection_unittest.cc819 EXPECT_EQ_WAIT(true, observer->called(), kMaxWaitMs); in DoCreateOfferAnswer()
1078 EXPECT_EQ_WAIT( in LocalP2PTest()
1082 EXPECT_EQ_WAIT( in LocalP2PTest()
1100 EXPECT_EQ_WAIT(webrtc::PeerConnectionInterface::kIceGatheringComplete, in LocalP2PTest()
1470 EXPECT_EQ_WAIT(rtc::SSLStreamAdapter::SslCipherSuiteToName( in TEST_F()
1480 EXPECT_EQ_WAIT(rtc::SrtpCryptoSuiteToName(kDefaultSrtpCryptoSuite), in TEST_F()
1508 EXPECT_EQ_WAIT(rtc::SSLStreamAdapter::SslCipherSuiteToName( in TEST_F()
1518 EXPECT_EQ_WAIT(rtc::SrtpCryptoSuiteToName(kDefaultSrtpCryptoSuite), in TEST_F()
1540 EXPECT_EQ_WAIT(rtc::SSLStreamAdapter::SslCipherSuiteToName( in TEST_F()
1550 EXPECT_EQ_WAIT(rtc::SrtpCryptoSuiteToName(kDefaultSrtpCryptoSuite), in TEST_F()
[all …]
Dpeerconnectioninterface_unittest.cc678 EXPECT_EQ_WAIT(true, observer->called(), kTimeout); in DoCreateOfferAnswer()
702 EXPECT_EQ_WAIT(true, observer->called(), kTimeout); in DoSetSessionDescription()
860 EXPECT_EQ_WAIT(stream_label, observer_.GetLastAddedStreamLabel(), kTimeout); in WaitAndVerifyOnAddStream()
1295 EXPECT_EQ_WAIT(data_to_send1, observer1->last_message(), kTimeout); in TEST_F()
1296 EXPECT_EQ_WAIT(data_to_send2, observer2->last_message(), kTimeout); in TEST_F()
1308 EXPECT_EQ_WAIT(data_to_send2, observer2->last_message(), kTimeout); in TEST_F()
1399 EXPECT_EQ_WAIT(DataChannelInterface::kOpen, received_channel->state(), in TEST_F()
Dwebrtcsession_unittest.cc1260 EXPECT_EQ_WAIT(PeerConnectionInterface::kIceGatheringGathering, in SetupLoopbackCall()
1263 EXPECT_EQ_WAIT(PeerConnectionInterface::kIceGatheringComplete, in SetupLoopbackCall()
1273 EXPECT_EQ_WAIT(PeerConnectionInterface::kIceConnectionChecking, in SetupLoopbackCall()
1277 EXPECT_EQ_WAIT(PeerConnectionInterface::kIceConnectionCompleted, in SetupLoopbackCall()
1291 EXPECT_EQ_WAIT(PeerConnectionInterface::kIceConnectionDisconnected, in TestLoopbackCall()
1301 EXPECT_EQ_WAIT(PeerConnectionInterface::kIceConnectionCompleted, in TestLoopbackCall()
1312 EXPECT_EQ_WAIT(PeerConnectionInterface::kIceConnectionDisconnected, in TestLoopbackCall()
1337 EXPECT_EQ_WAIT(fake_call_.last_sent_packet().packet_id, 10, kPacketTimeout); in TestPacketOptions()
1424 EXPECT_EQ_WAIT(expected_state, observers[i]->state(), 1000); in VerifyMultipleAsyncCreateDescriptionAfterInit()
/external/webrtc/webrtc/p2p/base/
Dtransportcontroller_unittest.cc337 EXPECT_EQ_WAIT(cricket::kIceGatheringGathering, gathering_state_, kTimeout); in TEST_F()
438 EXPECT_EQ_WAIT(cricket::kIceConnectionFailed, connection_state_, kTimeout); in TEST_F()
459 EXPECT_EQ_WAIT(cricket::kIceConnectionFailed, connection_state_, kTimeout); in TEST_F()
465 EXPECT_EQ_WAIT(cricket::kIceConnectionConnecting, connection_state_, in TEST_F()
472 EXPECT_EQ_WAIT(cricket::kIceConnectionConnected, connection_state_, kTimeout); in TEST_F()
493 EXPECT_EQ_WAIT(cricket::kIceConnectionFailed, connection_state_, kTimeout); in TEST_F()
499 EXPECT_EQ_WAIT(cricket::kIceConnectionConnecting, connection_state_, in TEST_F()
507 EXPECT_EQ_WAIT(cricket::kIceConnectionConnected, connection_state_, kTimeout); in TEST_F()
512 EXPECT_EQ_WAIT(cricket::kIceConnectionCompleted, connection_state_, kTimeout); in TEST_F()
530 EXPECT_EQ_WAIT(cricket::kIceConnectionConnected, connection_state_, kTimeout); in TEST_F()
[all …]
Dturnport_unittest.cc419 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, conn2->write_state(), kTimeout); in TestTurnConnection()
426 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, conn1->write_state(), kTimeout); in TestTurnConnection()
442 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, conn1->write_state(), kTimeout); in TestDestroyTurnConnection()
482 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, conn1->write_state(), kTimeout); in TestTurnSendData()
484 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, conn2->write_state(), kTimeout); in TestTurnSendData()
962 EXPECT_EQ_WAIT(0U, turn_server_.server()->allocations().size(), kTimeout); in TEST_F()
974 EXPECT_EQ_WAIT(0U, turn_server_.server()->allocations().size(), kTimeout); in TEST_F()
Dp2ptransportchannel_unittest.cc557 EXPECT_EQ_WAIT(len, SendData(ep1_ch1(), data, len), 1000); in TestSendRecv()
559 EXPECT_EQ_WAIT(len, SendData(ep2_ch1(), data, len), 1000); in TestSendRecv()
563 EXPECT_EQ_WAIT(len, SendData(ep1_ch2(), data, len), 1000); in TestSendRecv()
565 EXPECT_EQ_WAIT(len, SendData(ep2_ch2(), data, len), 1000); in TestSendRecv()
1189 EXPECT_EQ_WAIT( in TEST_F()
1354 EXPECT_EQ_WAIT(2u, ep1_ch1()->ports().size(), 1000); in TEST_F()
1698 EXPECT_EQ_WAIT(cricket::TransportChannelState::STATE_COMPLETED, in TEST_F()
1700 EXPECT_EQ_WAIT(cricket::TransportChannelState::STATE_COMPLETED, in TEST_F()
2254 EXPECT_EQ_WAIT(cricket::TransportChannelState::STATE_FAILED, ch.GetState(), in TEST_F()
2289 EXPECT_EQ_WAIT(cricket::Connection::STATE_INPROGRESS, conn2->state(), 1000); in TEST_F()
[all …]
Dport_unittest.cc583 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, ch2->conn()->write_state(), in ConnectStartedChannels()
821 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, ch2.conn()->write_state(), in TestConnectivity()
844 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, ch1.conn()->write_state(), in TestConnectivity()
864 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, ch2.conn()->write_state(), in TestConnectivity()
875 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, ch1.conn()->write_state(), in TestConnectivity()
2294 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, ch1.conn()->write_state(), in TEST_F()
2313 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, ch1.conn()->write_state(), in TEST_F()
2410 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, ch1.conn()->write_state(), in TEST_F()
Ddtlstransportchannel_unittest.cc539 EXPECT_EQ_WAIT(count, client2_.NumPacketsReceived(), 10000); in TestTransfer()
/external/webrtc/webrtc/base/
Ddbus_unittest.cc63 EXPECT_EQ_WAIT(DBusMonitor::DMS_RUNNING, monitor->GetStatus(), kTimeoutMs); in TEST()
70 EXPECT_EQ_WAIT(DBusMonitor::DMS_RUNNING, monitor->GetStatus(), kTimeoutMs); in TEST()
92 EXPECT_EQ_WAIT(DBusMonitor::DMS_RUNNING, monitor->GetStatus(), kTimeoutMs); in TEST()
113 EXPECT_EQ_WAIT(DBusMonitor::DMS_RUNNING, monitor1->GetStatus(), kTimeoutMs); in TEST()
115 EXPECT_EQ_WAIT(DBusMonitor::DMS_RUNNING, monitor2->GetStatus(), kTimeoutMs); in TEST()
139 EXPECT_EQ_WAIT(DBusMonitor::DMS_RUNNING, monitor->GetStatus(), kTimeoutMs); in TEST()
160 EXPECT_EQ_WAIT(DBusMonitor::DMS_RUNNING, monitor->GetStatus(), kTimeoutMs); in TEST()
178 EXPECT_EQ_WAIT(DBusMonitor::DMS_RUNNING, monitor->GetStatus(), kTimeoutMs); in TEST()
185 EXPECT_EQ_WAIT(DBusMonitor::DMS_RUNNING, monitor->GetStatus(), kTimeoutMs); in TEST()
Dsocket_unittest.cc239 EXPECT_EQ_WAIT(AsyncSocket::CS_CONNECTED, client->GetState(), kTimeout); in ConnectInternal()
288 EXPECT_EQ_WAIT(AsyncSocket::CS_CONNECTED, client->GetState(), kTimeout); in ConnectWithDnsLookupInternal()
317 EXPECT_EQ_WAIT(AsyncSocket::CS_CLOSED, client->GetState(), kTimeout); in ConnectFailInternal()
359 EXPECT_EQ_WAIT(AsyncSocket::CS_CLOSED, client->GetState(), kTimeout); in ConnectWithDnsLookupFailInternal()
415 EXPECT_EQ_WAIT(AsyncSocket::CS_CONNECTED, client->GetState(), kTimeout); in ConnectWhileNotClosedInternal()
453 EXPECT_EQ_WAIT(AsyncSocket::CS_CLOSED, client->GetState(), kTimeout); in ServerCloseDuringConnectInternal()
488 EXPECT_EQ_WAIT(AsyncSocket::CS_CLOSED, accepted->GetState(), kTimeout); in ClientCloseDuringConnectInternal()
522 EXPECT_EQ_WAIT(AsyncSocket::CS_CONNECTED, client->GetState(), kTimeout); in ServerCloseInternal()
543 EXPECT_EQ_WAIT(AsyncSocket::CS_CLOSED, client->GetState(), kTimeout); in ServerCloseInternal()
597 EXPECT_EQ_WAIT(AsyncSocket::CS_CONNECTED, client->GetState(), kTimeout); in CloseInClosedCallbackInternal()
[all …]
Dssladapter_unittest.cc305 EXPECT_EQ_WAIT(rtc::AsyncSocket::CS_CONNECTED, client_->GetState(), in TestHandshake()
312 EXPECT_EQ_WAIT(rtc::AsyncSocket::CS_CLOSED, client_->GetState(), in TestHandshake()
326 EXPECT_EQ_WAIT(message, server_->GetReceivedData(), kTimeout); in TestTransfer()
332 EXPECT_EQ_WAIT(message, client_->GetReceivedData(), kTimeout); in TestTransfer()
Dgunit.h48 #define EXPECT_EQ_WAIT(v1, v2, timeout) \ macro
Dthread_unittest.cc430 EXPECT_EQ_WAIT(42, int_value_, kWaitTimeout); in TEST_F()
614 EXPECT_EQ_WAIT(42, int_value_, kWaitTimeout); in TEST_F()
Dsslstreamadapter_unittest.cc764 EXPECT_EQ_WAIT(static_cast<size_t>(sent_), received_.size(), 1000); in TestTransfer()
815 EXPECT_EQ_WAIT(rtc::SS_CLOSED, server_ssl_->GetState(), handshake_wait_); in TEST_P()
/external/webrtc/talk/media/base/
Dcapturemanager_unittest.cc103 EXPECT_EQ_WAIT(cricket::CS_RUNNING, capture_state(), kMsCallbackWait); in TEST_F()
115 EXPECT_EQ_WAIT(cricket::CS_RUNNING, capture_state(), kMsCallbackWait); in TEST_F()
149 EXPECT_EQ_WAIT(1, callback_count(), kMsCallbackWait); in TEST_F()
167 EXPECT_EQ_WAIT(cricket::CS_RUNNING, capture_state(), kMsCallbackWait); in TEST_F()
183 EXPECT_EQ_WAIT(cricket::CS_STOPPED, capture_state(), kMsCallbackWait); in TEST_F()
196 EXPECT_EQ_WAIT(1, callback_count(), kMsCallbackWait); in TEST_F()
216 EXPECT_EQ_WAIT(1, callback_count(), kMsCallbackWait); in TEST_F()
Dvideoengine_unittest.h46 EXPECT_EQ_WAIT((c), renderer_.num_rendered_frames(), (t)); \
52 EXPECT_EQ_WAIT((c), (r).num_rendered_frames(), (t)); \
586 EXPECT_EQ_WAIT(NumRtpPackets(), GetSenderStats(0).packets_sent, kTimeout); in GetStatsMultipleRecvStreams()
594 EXPECT_EQ_WAIT(NumRtpBytes(), GetReceiverStats(i).bytes_rcvd, kTimeout); in GetStatsMultipleRecvStreams()
595 EXPECT_EQ_WAIT(NumRtpPackets(), GetReceiverStats(i).packets_rcvd, in GetStatsMultipleRecvStreams()
693 EXPECT_EQ_WAIT(NumRtpPackets(), NumRtpPackets(ssrc), kTimeout); in SetSendSsrc()
694 EXPECT_EQ_WAIT(NumRtpBytes(), NumRtpBytes(ssrc), kTimeout); in SetSendSsrc()
717 EXPECT_EQ_WAIT(NumRtpPackets(), NumRtpPackets(ssrc), kTimeout); in SetSendSsrcAfterSetCodecs()
718 EXPECT_EQ_WAIT(NumRtpBytes(), NumRtpBytes(ssrc), kTimeout); in SetSendSsrcAfterSetCodecs()
1214 EXPECT_EQ_WAIT(frame_count, renderer_.num_rendered_frames(), kTimeout); in AdaptFramerate()
[all …]
Dvideocapturer_unittest.cc105 EXPECT_EQ_WAIT(cricket::CS_RUNNING, capture_state(), kMsCallbackWait); in TEST_F()
108 EXPECT_EQ_WAIT(cricket::CS_STOPPED, capture_state(), kMsCallbackWait); in TEST_F()
122 EXPECT_EQ_WAIT(cricket::CS_RUNNING, capture_state(), kMsCallbackWait); in TEST_F()
129 EXPECT_EQ_WAIT(cricket::CS_RUNNING, capture_state(), kMsCallbackWait); in TEST_F()
145 EXPECT_EQ_WAIT(cricket::CS_RUNNING, capture_state(), kMsCallbackWait); in TEST_F()
154 EXPECT_EQ_WAIT(cricket::CS_RUNNING, capture_state(), kMsCallbackWait); in TEST_F()
182 EXPECT_EQ_WAIT(cricket::CS_PAUSED, in TEST_F()
192 EXPECT_EQ_WAIT(cricket::CS_RUNNING, in TEST_F()
/external/webrtc/talk/media/webrtc/
Dwebrtcvideocapturer_unittest.cc104 EXPECT_EQ_WAIT(cricket::CS_RUNNING, listener_.last_capture_state(), 1000); in TEST_F()
114 EXPECT_EQ_WAIT(cricket::CS_STOPPED, listener_.last_capture_state(), 1000); in TEST_F()
131 EXPECT_EQ_WAIT(cricket::CS_RUNNING, listener_.last_capture_state(), 1000); in TEST_F()
/external/webrtc/webrtc/libjingle/xmpp/
Dpingtask_unittest.cc84 EXPECT_EQ_WAIT(xmpp_client->sent_stanzas().size(), expected_ping_count, in TEST_F()
/external/webrtc/webrtc/p2p/client/
Dportallocator_unittest.cc871 EXPECT_EQ_WAIT(2U, candidates_.size(), kDefaultAllocationTimeout); in TEST_F()
879 EXPECT_EQ_WAIT(6U, candidates_.size(), 4000); in TEST_F()
916 EXPECT_EQ_WAIT(7U, candidates_.size(), kDefaultAllocationTimeout); in TEST_F()
1116 EXPECT_EQ_WAIT(2U, ports_.size(), kDefaultAllocationTimeout); in TEST_F()
1332 EXPECT_EQ_WAIT(1U, ports_.size(), kDefaultAllocationTimeout); in TEST_F()
/external/webrtc/talk/session/media/
Dchannel_unittest.cc1712 EXPECT_EQ_WAIT(cricket::SrtpFilter::ERROR_FAIL, error_handler.error_, 500); in TestSrtpError()
1727 EXPECT_EQ_WAIT(cricket::SrtpFilter::ERROR_FAIL, error_handler.error_, 500); in TestSrtpError()
1739 EXPECT_EQ_WAIT(cricket::SrtpFilter::ERROR_FAIL, error_handler.error_, 500); in TestSrtpError()
2291 EXPECT_EQ_WAIT(cricket::CS_STOPPED, screen_capturer_factory->capture_state(), in TEST_F()
2295 EXPECT_EQ_WAIT(rtc::WE_MINIMIZE, catcher.event(), kTimeoutMs); in TEST_F()
2298 EXPECT_EQ_WAIT(rtc::WE_RESTORE, catcher.event(), kTimeoutMs); in TEST_F()
2301 EXPECT_EQ_WAIT(rtc::WE_CLOSE, catcher.event(), kTimeoutMs); in TEST_F()