Home
last modified time | relevance | path

Searched refs:EXPECT_TRUE_WAIT (Results 1 – 25 of 39) sorted by relevance

12

/external/webrtc/talk/media/sctp/
Dsctpdataengine_unittest.cc369 EXPECT_TRUE_WAIT(ReceivedData(receiver2(), 1, "hello?"), 1000); in TEST_F()
372 EXPECT_TRUE_WAIT(ReceivedData(receiver1(), 2, "hi chan1"), 1000); in TEST_F()
374 EXPECT_TRUE_WAIT(signal_observer_1.IsSignaled(true), 1000); in TEST_F()
375 EXPECT_TRUE_WAIT(signal_observer_2.IsSignaled(true), 1000); in TEST_F()
385 EXPECT_TRUE_WAIT(ReceivedData(receiver2(), 1, "hello?"), 1000); in TEST_F()
398 EXPECT_TRUE_WAIT(ReceivedData(receiver1(), 2, "hi chan1"), 1000); in TEST_F()
438 EXPECT_TRUE_WAIT(ReceivedData(receiver2(), 1, "hello?"), 1000); in TEST_F()
441 EXPECT_TRUE_WAIT(ReceivedData(receiver1(), 2, "hi chan1"), 1000); in TEST_F()
445 EXPECT_TRUE_WAIT(chan_2_sig_receiver.WasStreamClosed(1), 1000); in TEST_F()
458 EXPECT_TRUE_WAIT(ReceivedData(receiver2(), 1, "hello?"), 1000); in TEST_F()
[all …]
/external/webrtc/webrtc/p2p/base/
Dturnport_unittest.cc333 EXPECT_TRUE_WAIT(turn_ready_, kTimeout * 100); in TestTurnAlternateServer()
354 EXPECT_TRUE_WAIT(turn_error_, kTimeout); in TestTurnAlternateServerV4toV6()
371 EXPECT_TRUE_WAIT(turn_error_, kTimeout); in TestTurnAlternateServerPingPong()
394 EXPECT_TRUE_WAIT(turn_error_, kTimeout); in TestTurnAlternateServerDetectRepetition()
449 EXPECT_TRUE_WAIT(turn_unknown_address_, kTimeout); in TestDestroyTurnConnection()
463 EXPECT_TRUE_WAIT(conn2->receiving(), kTimeout); in TestDestroyTurnConnection()
537 EXPECT_TRUE_WAIT(turn_ready_, kTimeout); in TEST_F()
550 EXPECT_TRUE_WAIT(turn_ready_, kTimeout); in TEST_F()
566 EXPECT_TRUE_WAIT(turn_ready_, kTimeout); in TEST_F()
581 EXPECT_TRUE_WAIT(turn_error_, kTimeout); in TEST_F()
[all …]
Dstunport_unittest.cc166 EXPECT_TRUE_WAIT(done(), kTimeoutMs); in TEST_F()
178 EXPECT_TRUE_WAIT(done(), kTimeoutMs); in TEST_F()
187 EXPECT_TRUE_WAIT(done(), kTimeoutMs); in TEST_F()
197 EXPECT_TRUE_WAIT(done(), kTimeoutMs); in TEST_F()
208 EXPECT_TRUE_WAIT(done(), kTimeoutMs); in TEST_F()
221 EXPECT_TRUE_WAIT(done(), kTimeoutMs); in TEST_F()
232 EXPECT_TRUE_WAIT(done(), kTimeoutMs); in TEST_F()
251 EXPECT_TRUE_WAIT(done(), kTimeoutMs); in TEST_F()
265 EXPECT_TRUE_WAIT(done(), kTimeoutMs); in TEST_F()
283 EXPECT_TRUE_WAIT(done(), kTimeoutMs); in TEST_F()
Drelayport_unittest.cc118 EXPECT_TRUE_WAIT(relay_port_->IsReady(), kTimeoutMs); in TestConnectUdp()
155 EXPECT_TRUE_WAIT(HasFailed(&fake_protocol_address), 3600); in TestConnectTcp()
158 EXPECT_TRUE_WAIT(relay_port_->IsReady(), kMaxTimeoutMs); in TestConnectTcp()
196 EXPECT_TRUE_WAIT(relay_port_->IsReady(), kMaxTimeoutMs); in TestConnectSslTcp()
Dp2ptransportchannel_unittest.cc533 EXPECT_TRUE_WAIT(CheckCandidate2(expected), kDefaultTimeout); in Test()
558 EXPECT_TRUE_WAIT(CheckDataOnChannel(ep2_ch1(), data, len), 1000); in TestSendRecv()
560 EXPECT_TRUE_WAIT(CheckDataOnChannel(ep1_ch1(), data, len), 1000); in TestSendRecv()
564 EXPECT_TRUE_WAIT(CheckDataOnChannel(ep2_ch2(), data, len), 1000); in TestSendRecv()
566 EXPECT_TRUE_WAIT(CheckDataOnChannel(ep1_ch2(), data, len), 1000); in TestSendRecv()
623 EXPECT_TRUE_WAIT(GetRoleConflict(0), 1000); in TestSignalRoleConflict()
626 EXPECT_TRUE_WAIT(ep1_ch1()->receiving() && in TestSignalRoleConflict()
1323 EXPECT_TRUE_WAIT(ep1_ch1()->receiving() && ep1_ch1()->writable() && in TEST_F()
1373 EXPECT_TRUE_WAIT(ep1_ch1()->receiving() && in TEST_F()
1430 EXPECT_TRUE_WAIT(ep1_ch1()->receiving() && ep1_ch1()->writable() && in TEST_F()
[all …]
Dpseudotcp_unittest.cc225 EXPECT_TRUE_WAIT(have_connected_, kConnectTimeoutMs); in TestTransfer()
228 EXPECT_TRUE_WAIT(have_disconnected_, kTransferTimeoutMs); in TestTransfer()
344 EXPECT_TRUE_WAIT(have_connected_, kConnectTimeoutMs); in TestPingPong()
347 EXPECT_TRUE_WAIT(have_disconnected_, kTransferTimeoutMs); in TestPingPong()
457 EXPECT_TRUE_WAIT(have_connected_, kConnectTimeoutMs); in TestTransfer()
460 EXPECT_TRUE_WAIT(have_disconnected_, kTransferTimeoutMs); in TestTransfer()
Dport_unittest.cc576 EXPECT_TRUE_WAIT(ch1->conn()->connected(), kTimeout); // for TCP connect in ConnectStartedChannels()
613 EXPECT_TRUE_WAIT(!ch1->conn()->connected(), kTimeout); in DisconnectTcpTestChannels()
614 EXPECT_TRUE_WAIT(!ch2->conn()->connected(), kTimeout); in DisconnectTcpTestChannels()
625 EXPECT_TRUE_WAIT(ch2->conn() == NULL, kTimeout); in DisconnectTcpTestChannels()
679 EXPECT_TRUE_WAIT(ch1.conn()->connected(), kTimeout); in TestTcpReconnect()
683 EXPECT_TRUE_WAIT(ch1.connection_ready_to_send(), in TestTcpReconnect()
693 EXPECT_TRUE_WAIT(!ch1.conn(), kTcpReconnectTimeout + kTimeout); in TestTcpReconnect()
700 EXPECT_TRUE_WAIT(ch1.conn() == NULL, kTimeout); in TestTcpReconnect()
701 EXPECT_TRUE_WAIT(ch2.conn() == NULL, kTimeout); in TestTcpReconnect()
802 EXPECT_TRUE_WAIT(ch1.conn()->connected(), kTimeout); // for TCP connect in TestConnectivity()
[all …]
/external/webrtc/talk/app/webrtc/
Ddtlsidentitystore_unittest.cc103 EXPECT_TRUE_WAIT(store_->HasFreeIdentityForTesting(rtc::KT_RSA), kTimeoutMs); in TEST_F()
106 EXPECT_TRUE_WAIT(observer_->LastRequestSucceeded(), kTimeoutMs); in TEST_F()
108 EXPECT_TRUE_WAIT(store_->HasFreeIdentityForTesting(rtc::KT_RSA), kTimeoutMs); in TEST_F()
115 EXPECT_TRUE_WAIT(observer_->LastRequestSucceeded(), kTimeoutMs); in TEST_F()
123 EXPECT_TRUE_WAIT(observer_->LastRequestSucceeded(), kTimeoutMs); in TEST_F()
130 EXPECT_TRUE_WAIT(observer_->LastRequestSucceeded(), kTimeoutMs); in TEST_F()
Ddtmfsender_unittest.cc250 EXPECT_TRUE_WAIT(observer_->completed(), kMaxWaitMs); in TEST_F()
266 EXPECT_TRUE_WAIT(observer_->tones().size() == 1, kMaxWaitMs); in TEST_F()
272 EXPECT_TRUE_WAIT(observer_->completed(), kMaxWaitMs); in TEST_F()
287 EXPECT_TRUE_WAIT(observer_->tones().size() == 1, kMaxWaitMs); in TEST_F()
301 EXPECT_TRUE_WAIT(observer_->tones().size() == 1, kMaxWaitMs); in TEST_F()
316 EXPECT_TRUE_WAIT(observer_->tones().size() == 1, kMaxWaitMs); in TEST_F()
320 EXPECT_TRUE_WAIT(observer_->completed(), kMaxWaitMs); in TEST_F()
335 EXPECT_TRUE_WAIT(observer_->completed(), kMaxWaitMs); in TEST_F()
Dpeerconnection_unittest.cc528 EXPECT_TRUE_WAIT(observer->completed(), kMaxWaitMs); in VerifyDtmf()
598 EXPECT_TRUE_WAIT(observer->called(), kMaxWaitMs); in GetAudioOutputLevelStats()
608 EXPECT_TRUE_WAIT(observer->called(), kMaxWaitMs); in GetAudioInputLevelStats()
618 EXPECT_TRUE_WAIT(observer->called(), kMaxWaitMs); in GetBytesReceivedStats()
628 EXPECT_TRUE_WAIT(observer->called(), kMaxWaitMs); in GetBytesSentStats()
638 EXPECT_TRUE_WAIT(observer->called(), kMaxWaitMs); in GetAvailableReceivedBandwidthStats()
649 EXPECT_TRUE_WAIT(observer->called(), kMaxWaitMs); in GetDtlsCipherStats()
659 EXPECT_TRUE_WAIT(observer->called(), kMaxWaitMs); in GetSrtpCipherStats()
862 EXPECT_TRUE_WAIT(observer->called(), kMaxWaitMs); in DoSetRemoteDescription()
973 EXPECT_TRUE_WAIT(initiating_client_->AudioFramesReceivedCheck( in TestUpdateOfferWithRejectedContent()
[all …]
Dremotevideocapturer_unittest.cc93 EXPECT_TRUE_WAIT((cricket::CS_RUNNING == capture_state()), kMaxWaitMs); in TEST_F()
100 EXPECT_TRUE_WAIT((cricket::CS_STOPPED == capture_state()), kMaxWaitMs); in TEST_F()
Dpeerconnectioninterface_unittest.cc633 EXPECT_TRUE_WAIT(observer_.renegotiation_needed_, kTimeout); in AddVideoStream()
645 EXPECT_TRUE_WAIT(observer_.renegotiation_needed_, kTimeout); in AddVoiceStream()
663 EXPECT_TRUE_WAIT(observer_.renegotiation_needed_, kTimeout); in AddAudioVideoStream()
723 EXPECT_TRUE_WAIT(observer->called(), kTimeout); in DoGetStats()
828 EXPECT_TRUE_WAIT(observer_.ice_complete_, kTimeout); in CreateOfferAsLocalDescription()
1105 EXPECT_TRUE_WAIT(observer_.last_candidate_.get() != NULL, kTimeout); in TEST_F()
1106 EXPECT_TRUE_WAIT(observer_.ice_complete_, kTimeout); in TEST_F()
1287 EXPECT_TRUE_WAIT(observer1->IsOpen(), kTimeout); in TEST_F()
1288 EXPECT_TRUE_WAIT(observer2->IsOpen(), kTimeout); in TEST_F()
1331 EXPECT_TRUE_WAIT(observer1->IsOpen(), kTimeout); in TEST_F()
[all …]
/external/webrtc/webrtc/base/
Ddbus_unittest.cc93 EXPECT_TRUE_WAIT(filter.MessageReceived(), kTimeoutMs); in TEST()
117 EXPECT_TRUE_WAIT(filter2.MessageReceived(), kTimeoutMs); in TEST()
121 EXPECT_TRUE_WAIT(filter1.MessageReceived(), kTimeoutMs); in TEST()
141 EXPECT_TRUE_WAIT(filter1.MessageReceived(), kTimeoutMs); in TEST()
142 EXPECT_TRUE_WAIT(filter2.MessageReceived(), kTimeoutMs); in TEST()
179 EXPECT_TRUE_WAIT(filter1.MessageReceived(), kTimeoutMs); in TEST()
186 EXPECT_TRUE_WAIT(filter1.MessageReceived(), kTimeoutMs); in TEST()
187 EXPECT_TRUE_WAIT(filter2.MessageReceived(), kTimeoutMs); in TEST()
Dsharedexclusivelock_unittest.cc152 EXPECT_TRUE_WAIT(done0, kProcessTimeoutInMs); in TEST_F()
155 EXPECT_TRUE_WAIT(done1, kProcessTimeoutInMs); in TEST_F()
174 EXPECT_TRUE_WAIT(done, kProcessTimeoutInMs); in TEST_F()
194 EXPECT_TRUE_WAIT(done, kProcessTimeoutInMs); in TEST_F()
213 EXPECT_TRUE_WAIT(done, kProcessTimeoutInMs); in TEST_F()
Dsocket_unittest.cc227 EXPECT_TRUE_WAIT((sink.Check(server.get(), testing::SSE_READ)), kTimeout); in ConnectInternal()
276 EXPECT_TRUE_WAIT((sink.Check(server.get(), testing::SSE_READ)), kTimeout); in ConnectWithDnsLookupInternal()
406 EXPECT_TRUE_WAIT((sink.Check(server.get(), testing::SSE_READ)), kTimeout); in ConnectWhileNotClosedInternal()
449 EXPECT_TRUE_WAIT(sink.Check(server.get(), testing::SSE_READ), kTimeout); in ServerCloseDuringConnectInternal()
478 EXPECT_TRUE_WAIT(sink.Check(server.get(), testing::SSE_READ), kTimeout); in ClientCloseDuringConnectInternal()
516 EXPECT_TRUE_WAIT((sink.Check(server.get(), testing::SSE_READ)), kTimeout); in ServerCloseInternal()
533 EXPECT_TRUE_WAIT(sink.Check(client.get(), testing::SSE_READ), kTimeout); in ServerCloseInternal()
591 EXPECT_TRUE_WAIT((sink.Check(server.get(), testing::SSE_READ)), kTimeout); in CloseInClosedCallbackInternal()
639 EXPECT_TRUE_WAIT((sink.Check(server.get(), testing::SSE_READ)), kTimeout); in SocketServerWaitInternal()
670 EXPECT_TRUE_WAIT((sink.Check(accepted.get(), testing::SSE_READ)), kTimeout); in SocketServerWaitInternal()
[all …]
Dthread_unittest.cc364 EXPECT_TRUE_WAIT(async_invoked.Get(), 2000); in TEST()
377 EXPECT_TRUE_WAIT(thread_a_called.Get(), 2000); in TEST()
417 EXPECT_TRUE_WAIT(called.get(), kWaitTimeout); in TEST_F()
604 EXPECT_TRUE_WAIT(called.get(), kWaitTimeout); in TEST_F()
723 EXPECT_TRUE_WAIT(done_, 1000); in TEST_F()
Dnullsocketserver_unittest.cc36 EXPECT_TRUE_WAIT(ss_.Wait(SocketServer::kForever, process_io), kTimeout); in TEST_F()
Dgunit.h41 #define EXPECT_TRUE_WAIT(ex, timeout) \ macro
/external/webrtc/talk/app/webrtc/test/
Dfakeaudiocapturemodule_unittest.cc172 EXPECT_TRUE_WAIT(pull_iterations() > 0, kMsInSecond); in TEST_F()
195 EXPECT_TRUE_WAIT(push_iterations() > 0, kMsInSecond); in TEST_F()
211 EXPECT_TRUE_WAIT(push_iterations() > 0, kMsInSecond); in TEST_F()
212 EXPECT_TRUE_WAIT(pull_iterations() > 0, kMsInSecond); in TEST_F()
Dpeerconnectiontestwrapper.cc215 EXPECT_TRUE_WAIT(CheckForConnection(), kMaxWait); in WaitForConnection()
228 EXPECT_TRUE_WAIT(CheckForAudio(), kMaxWait); in WaitForAudio()
239 EXPECT_TRUE_WAIT(CheckForVideo(), kMaxWait); in WaitForVideo()
/external/webrtc/webrtc/p2p/client/
Dportallocator_unittest.cc279 EXPECT_TRUE_WAIT(candidate_allocation_done_, kDefaultAllocationTimeout); in CheckDisableAdapterEnumeration()
426 EXPECT_TRUE_WAIT(candidate_allocation_done_, kDefaultAllocationTimeout); in TEST_F()
448 EXPECT_TRUE_WAIT(candidate_allocation_done_, kDefaultAllocationTimeout); in TEST_F()
475 EXPECT_TRUE_WAIT(candidate_allocation_done_, kDefaultAllocationTimeout); in TEST_F()
611 EXPECT_TRUE_WAIT(candidate_allocation_done_, kDefaultAllocationTimeout); in TEST_F()
768 EXPECT_TRUE_WAIT(candidate_allocation_done_, kDefaultAllocationTimeout); in TEST_F()
891 EXPECT_TRUE_WAIT(candidate_allocation_done_, 9000); in TEST_F()
904 EXPECT_TRUE_WAIT(candidate_allocation_done_, kDefaultAllocationTimeout); in TEST_F()
934 EXPECT_TRUE_WAIT(candidate_allocation_done_, kDefaultAllocationTimeout); in TEST_F()
958 EXPECT_TRUE_WAIT(candidate_allocation_done_, kDefaultAllocationTimeout); in TEST_F()
[all …]
/external/webrtc/talk/media/devices/
Dfilevideocapturer_unittest.cc151 EXPECT_TRUE_WAIT(!capturer_->IsRunning(), 20000); in TEST_F()
167 EXPECT_TRUE_WAIT(!capturer_->IsRunning() || in TEST_F()
186 EXPECT_TRUE_WAIT(!capturer_->IsRunning(), 1000); in TEST_F()
/external/webrtc/talk/session/media/
Dchannel_unittest.cc1258 EXPECT_TRUE_WAIT(channel1_->writable(), kEventTimeout); in SendSrtpToSrtp()
1259 EXPECT_TRUE_WAIT(channel2_->writable(), kEventTimeout); in SendSrtpToSrtp()
1354 EXPECT_TRUE_WAIT(CheckRtp1(), 1000); in SendRtpToRtpOnThread()
1355 EXPECT_TRUE_WAIT(CheckRtp2(), 1000); in SendRtpToRtpOnThread()
1356 EXPECT_TRUE_WAIT(sent_rtp1, 1000); in SendRtpToRtpOnThread()
1357 EXPECT_TRUE_WAIT(sent_rtp2, 1000); in SendRtpToRtpOnThread()
1360 EXPECT_TRUE_WAIT(CheckRtcp1(), 1000); in SendRtpToRtpOnThread()
1361 EXPECT_TRUE_WAIT(CheckRtcp2(), 1000); in SendRtpToRtpOnThread()
1362 EXPECT_TRUE_WAIT(sent_rtcp1, 1000); in SendRtpToRtpOnThread()
1363 EXPECT_TRUE_WAIT(sent_rtcp2, 1000); in SendRtpToRtpOnThread()
[all …]
/external/webrtc/webrtc/modules/video_capture/test/
Dvideo_capture_unittest.cc51 #define EXPECT_TRUE_WAIT(ex, timeout) \ macro
308 EXPECT_TRUE_WAIT(capture_observer.incoming_frames() >= 5, kTimeOut); in TEST_F()
366 EXPECT_TRUE_WAIT(capture_observer.incoming_frames() >= 1, kTimeOut); in TEST_F()
431 EXPECT_TRUE_WAIT(capture_observer1.incoming_frames() >= 5, kTimeOut); in TEST_F()
432 EXPECT_TRUE_WAIT(capture_observer2.incoming_frames() >= 5, kTimeOut); in TEST_F()
/external/webrtc/talk/media/webrtc/
Dwebrtcvideocapturer_unittest.cc106 EXPECT_TRUE_WAIT(listener_.frame_count() > 0, 5000); in TEST_F()
133 EXPECT_TRUE_WAIT(listener_.frame_count() > 0, 5000); in TEST_F()

12