Home
last modified time | relevance | path

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

12

/external/webrtc/media/sctp/
Dsctp_transport_unittest.cc268 EXPECT_TRUE_WAIT(ReceivedData(&recv1, 1, "meow"), kDefaultTimeout); in TEST_F()
306 EXPECT_TRUE_WAIT(ReceivedData(&recv1, 1, "meow? rawr!"), kDefaultTimeout); in TEST_F()
344 EXPECT_TRUE_WAIT(ReceivedData(&recv2, 1, "foo"), kDefaultTimeout); in TEST_F()
345 EXPECT_TRUE_WAIT(ReceivedData(&recv1, 1, "bar"), kDefaultTimeout); in TEST_F()
362 EXPECT_TRUE_WAIT(ReceivedData(receiver2(), 1, "foo"), kDefaultTimeout); in TEST_F()
363 EXPECT_TRUE_WAIT(ReceivedData(receiver1(), 1, "bar"), kDefaultTimeout); in TEST_F()
402 EXPECT_TRUE_WAIT(ReceivedData(&recv2, 1, "foo"), kDefaultTimeout); in TEST_F()
403 EXPECT_TRUE_WAIT(ReceivedData(&recv1, 1, "bar"), kDefaultTimeout); in TEST_F()
433 EXPECT_TRUE_WAIT(observer.ReadyToSend(), kDefaultTimeout); in TEST_F()
476 EXPECT_TRUE_WAIT(ReceivedData(receiver2(), 1, buffered_message), in TEST_P()
[all …]
/external/webrtc/pc/test/
Dfake_audio_capture_module_unittest.cc152 EXPECT_TRUE_WAIT(pull_iterations() > 0, kMsInSecond); in TEST_F()
175 EXPECT_TRUE_WAIT(push_iterations() > 0, kMsInSecond); in TEST_F()
191 EXPECT_TRUE_WAIT(push_iterations() > 0, kMsInSecond); in TEST_F()
192 EXPECT_TRUE_WAIT(pull_iterations() > 0, kMsInSecond); in TEST_F()
Dpeer_connection_test_wrapper.cc140 EXPECT_TRUE_WAIT(!pending_negotiation_, kMaxWait); in WaitForNegotiation()
257 EXPECT_TRUE_WAIT(CheckForConnection(), kMaxWait); in WaitForConnection()
269 EXPECT_TRUE_WAIT(CheckForAudio(), kMaxWait); in WaitForAudio()
280 EXPECT_TRUE_WAIT(CheckForVideo(), kMaxWait); in WaitForVideo()
/external/webrtc/rtc_base/
Dsocket_unittest.cc266 EXPECT_TRUE_WAIT((sink.Check(server.get(), SSE_READ)), kTimeout); in ConnectInternal()
315 EXPECT_TRUE_WAIT((sink.Check(server.get(), SSE_READ)), kTimeout); in ConnectWithDnsLookupInternal()
445 EXPECT_TRUE_WAIT((sink.Check(server.get(), SSE_READ)), kTimeout); in ConnectWhileNotClosedInternal()
487 EXPECT_TRUE_WAIT(sink.Check(server.get(), SSE_READ), kTimeout); in ServerCloseDuringConnectInternal()
516 EXPECT_TRUE_WAIT(sink.Check(server.get(), SSE_READ), kTimeout); in ClientCloseDuringConnectInternal()
554 EXPECT_TRUE_WAIT((sink.Check(server.get(), SSE_READ)), kTimeout); in ServerCloseInternal()
571 EXPECT_TRUE_WAIT(sink.Check(client.get(), SSE_READ), kTimeout); in ServerCloseInternal()
629 EXPECT_TRUE_WAIT((sink.Check(server.get(), SSE_READ)), kTimeout); in CloseInClosedCallbackInternal()
674 EXPECT_TRUE_WAIT((sink.Check(server.get(), SSE_READ)), kTimeout); in SocketServerWaitInternal()
705 EXPECT_TRUE_WAIT((sink.Check(accepted.get(), SSE_READ)), kTimeout); in SocketServerWaitInternal()
[all …]
Drtc_certificate_generator_unittest.cc100 EXPECT_TRUE_WAIT(fixture_->GenerateAsyncCompleted(), kGenerationTimeoutMs); in TEST_F()
140 EXPECT_TRUE_WAIT(fixture_->GenerateAsyncCompleted(), kGenerationTimeoutMs); in TEST_F()
Dnull_socket_server_unittest.cc41 EXPECT_TRUE_WAIT(ss_.Wait(SocketServer::kForever, process_io), kTimeout); in TEST_F()
Dphysical_socket_server_unittest.cc237 EXPECT_TRUE_WAIT((sink.Check(server.get(), webrtc::testing::SSE_READ)), in ConnectInternalAcceptError()
261 EXPECT_TRUE_WAIT((sink.Check(server.get(), webrtc::testing::SSE_READ)), in ConnectInternalAcceptError()
Dgunit.h43 #define EXPECT_TRUE_WAIT(ex, timeout) \ macro
Dthread_unittest.cc458 EXPECT_TRUE_WAIT(async_invoked.Get(), 2000); in TEST()
473 EXPECT_TRUE_WAIT(thread_a_called.Get(), 2000); in TEST()
720 EXPECT_TRUE_WAIT(called.get(), kWaitTimeout); in TEST_F()
732 EXPECT_TRUE_WAIT(called.get(), kWaitTimeout); in TEST_F()
Dssl_stream_adapter_unittest.cc473 EXPECT_TRUE_WAIT((client_ssl_->GetState() == rtc::SS_OPEN) && in TestHandshake()
477 EXPECT_TRUE_WAIT(client_ssl_->GetState() == rtc::SS_CLOSED, in TestHandshake()
508 EXPECT_TRUE_WAIT( in TestHandshakeWithDelayedIdentity()
712 EXPECT_TRUE_WAIT(server_ssl_->GetState() == rtc::SS_CLOSED, 10000); in TestTransfer()
887 EXPECT_TRUE_WAIT(sent_ == count_, 10000); in TestTransfer()
/external/webrtc/modules/video_capture/test/
Dvideo_capture_unittest.cc47 #define EXPECT_TRUE_WAIT(ex, timeout) \ macro
226 EXPECT_TRUE_WAIT(capture_observer.incoming_frames() >= 5, kTimeOut); in TEST_F()
277 EXPECT_TRUE_WAIT(capture_observer.incoming_frames() >= 1, kTimeOut); in TEST_F()
340 EXPECT_TRUE_WAIT(capture_observer1.incoming_frames() >= 5, kTimeOut); in TEST_F()
341 EXPECT_TRUE_WAIT(capture_observer2.incoming_frames() >= 5, kTimeOut); in TEST_F()
/external/webrtc/p2p/base/
Dtcp_port_unittest.cc108 EXPECT_TRUE_WAIT(conn->connected(), kTimeout); in TEST_F()
137 EXPECT_TRUE_WAIT(observer.connection_destroyed(), kTimeout); in TEST_F()
162 EXPECT_TRUE_WAIT(conn->connected(), kTimeout); in TEST_F()
186 EXPECT_TRUE_WAIT(conn->connected(), kTimeout); in TEST_F()
Dpseudo_tcp_unittest.cc253 EXPECT_TRUE_WAIT(have_connected_, kConnectTimeoutMs); in TestTransfer()
256 EXPECT_TRUE_WAIT(have_disconnected_, kTransferTimeoutMs); in TestTransfer()
368 EXPECT_TRUE_WAIT(have_connected_, kConnectTimeoutMs); in TestPingPong()
371 EXPECT_TRUE_WAIT(have_disconnected_, kTransferTimeoutMs); in TestPingPong()
480 EXPECT_TRUE_WAIT(have_connected_, kConnectTimeoutMs); in TestTransfer()
483 EXPECT_TRUE_WAIT(have_disconnected_, kTransferTimeoutMs); in TestTransfer()
Dp2p_transport_channel_unittest.cc1643 EXPECT_TRUE_WAIT(CheckConnected(ep1_ch1(), ep2_ch1()), kDefaultTimeout); in TEST_F()
2098 EXPECT_TRUE_WAIT(ep1_ch1()->selected_connection() != nullptr, kShortTimeout); in TEST_F()
2219 EXPECT_TRUE_WAIT(ep1_ch1()->selected_connection() != nullptr, kShortTimeout); in TEST_F()
2821 EXPECT_TRUE_WAIT( in TEST_F()
2877 EXPECT_TRUE_WAIT(backup_conn->writable(), kMediumTimeout); in TEST_F()
2879 EXPECT_TRUE_WAIT( in TEST_F()
2970 EXPECT_TRUE_WAIT((conn = ep1_ch1()->selected_connection()) != nullptr && in TEST_F()
2973 EXPECT_TRUE_WAIT((conn = ep2_ch1()->selected_connection()) != nullptr && in TEST_F()
2980 EXPECT_TRUE_WAIT( in TEST_F()
2986 EXPECT_TRUE_WAIT( in TEST_F()
[all …]
Dport_unittest.cc605 EXPECT_TRUE_WAIT(ch1->conn()->connected(), in ConnectStartedChannels()
643 EXPECT_TRUE_WAIT(!ch1->conn()->connected(), kDefaultTimeout); in DisconnectTcpTestChannels()
644 EXPECT_TRUE_WAIT(!ch2->conn()->connected(), kDefaultTimeout); in DisconnectTcpTestChannels()
655 EXPECT_TRUE_WAIT(ch2->conn() == NULL, kDefaultTimeout); in DisconnectTcpTestChannels()
709 EXPECT_TRUE_WAIT(ch1.conn()->connected(), kDefaultTimeout); in TestTcpReconnect()
713 EXPECT_TRUE_WAIT(ch1.connection_ready_to_send(), kTcpReconnectTimeout); in TestTcpReconnect()
722 EXPECT_TRUE_WAIT(!ch1.conn(), kTcpReconnectTimeout + kDefaultTimeout); in TestTcpReconnect()
729 EXPECT_TRUE_WAIT(ch1.conn() == NULL, kDefaultTimeout); in TestTcpReconnect()
730 EXPECT_TRUE_WAIT(ch2.conn() == NULL, kDefaultTimeout); in TestTcpReconnect()
1228 EXPECT_TRUE_WAIT(!ch1.conn(), kDefaultTimeout); // for TCP connect in TEST_F()
[all …]
Dstun_port_unittest.cc255 EXPECT_TRUE_WAIT(done(), kTimeoutMs); in TEST_F()
291 EXPECT_TRUE_WAIT(done(), kTimeoutMs); in TEST_F()
/external/webrtc/pc/
Dpeer_connection_signaling_unittest.cc631 EXPECT_TRUE_WAIT(offer_observer->called(), kWaitTimeout); in TEST_P()
651 EXPECT_TRUE_WAIT(observer->called(), kWaitTimeout); in TEST_P()
676 EXPECT_TRUE_WAIT(observer->called(), kWaitTimeout); in TEST_P()
694 EXPECT_TRUE_WAIT(caller_set_local_description_observer->called(), in TEST_P()
712 EXPECT_TRUE_WAIT(callee_set_local_description_observer->called(), in TEST_P()
727 EXPECT_TRUE_WAIT(caller_set_remote_description_observer->called(), in TEST_P()
744 EXPECT_TRUE_WAIT(observer->called(), kWaitTimeout); in TEST_P()
764 EXPECT_TRUE_WAIT(observer->called(), kWaitTimeout); in TEST_P()
826 EXPECT_TRUE_WAIT(offer_observer->was_called(), kWaitTimeout); in TEST_F()
Dpeer_connection_adaptation_integrationtest.cc124 EXPECT_TRUE_WAIT( in TEST_F()
155 EXPECT_TRUE_WAIT( in TEST_F()
Dpeer_connection_ice_unittest.cc330 EXPECT_TRUE_WAIT(caller->IsIceGatheringDone(), kIceCandidatesTimeout); in TEST_P()
351 EXPECT_TRUE_WAIT(callee->IsIceGatheringDone(), kIceCandidatesTimeout); in TEST_P()
653 EXPECT_TRUE_WAIT(caller->IsIceGatheringDone(), kIceCandidatesTimeout); in TEST_P()
717 EXPECT_TRUE_WAIT(operation_completed, kWaitTimeout); in TEST_P()
766 EXPECT_TRUE_WAIT(answer_observer->called(), kWaitTimeout); in TEST_P()
788 EXPECT_TRUE_WAIT(operation_completed, kWaitTimeout); in TEST_P()
822 EXPECT_TRUE_WAIT(operation_completed, kWaitTimeout); in TEST_P()
838 EXPECT_TRUE_WAIT( in TEST_P()
859 EXPECT_TRUE_WAIT( in TEST_P()
884 EXPECT_TRUE_WAIT(caller->IsIceGatheringDone(), kIceCandidatesTimeout); in TEST_P()
Dpeer_connection_bundle_unittest.cc305 EXPECT_TRUE_WAIT(caller->IsIceGatheringDone(), kDefaultTimeout); in TEST_P()
316 EXPECT_TRUE_WAIT(callee->IsIceGatheringDone(), kDefaultTimeout); in TEST_P()
343 EXPECT_TRUE_WAIT(caller->IsIceGatheringDone(), kDefaultTimeout); in TEST_P()
364 EXPECT_TRUE_WAIT(caller->IsIceGatheringDone(), kDefaultTimeout); in TEST_P()
641 EXPECT_TRUE_WAIT(caller->HasConnectionWithRemoteAddress(kAudioAddress1), in TEST_P()
643 EXPECT_TRUE_WAIT(caller->HasConnectionWithRemoteAddress(kAudioAddress2), in TEST_P()
Dpeer_connection_integrationtest.cc441 EXPECT_TRUE_WAIT(observer->called(), kDefaultTimeout); in OldGetStatsForTrack()
456 EXPECT_TRUE_WAIT(callback->called(), kDefaultTimeout); in NewGetStats()
808 EXPECT_TRUE_WAIT(observer->called(), kDefaultTimeout); in SetLocalDescriptionAndSendSdpMessage()
820 EXPECT_TRUE_WAIT(observer->called(), kDefaultTimeout); in SetRemoteDescription()
1594 EXPECT_TRUE_WAIT(caller()->audio_frames_received() >= in ExpectNewFrames()
1789 EXPECT_TRUE_WAIT( in TEST_P()
1795 EXPECT_TRUE_WAIT( in TEST_P()
1854 EXPECT_TRUE_WAIT(observer.completed(), kDefaultTimeout); in TestDtmfFromSenderToReceiver()
2884 EXPECT_TRUE_WAIT(callee()->OldGetStats()->AudioOutputLevel() > 0, in TEST_P()
2901 EXPECT_TRUE_WAIT(caller()->OldGetStats()->AudioInputLevel() > 0, in TEST_P()
[all …]
Dpeer_connection_histogram_unittest.cc222 EXPECT_TRUE_WAIT(observer()->ice_gathering_complete_, kDefaultTimeout); in GenerateOfferAndCollectCandidates()
737 EXPECT_TRUE_WAIT(caller->IsConnected(), kDefaultTimeout); in TEST_F()
738 EXPECT_TRUE_WAIT(callee->IsConnected(), kDefaultTimeout); in TEST_F()
740 EXPECT_TRUE_WAIT(callee->observer()->last_datachannel_ != nullptr, in TEST_F()
Dpeer_connection_interface_unittest.cc928 EXPECT_TRUE_WAIT(observer->called(), kTimeout); in DoGetStats()
937 EXPECT_TRUE_WAIT(callback->called(), kTimeout); in DoGetRTCStats()
1043 EXPECT_TRUE_WAIT(observer_.ice_gathering_complete_, kTimeout); in CreateOfferAsLocalDescription()
1722 EXPECT_TRUE_WAIT(observer_.last_candidate() != nullptr, kTimeout); in TEST_P()
1723 EXPECT_TRUE_WAIT(observer_.ice_gathering_complete_, kTimeout); in TEST_P()
1916 EXPECT_TRUE_WAIT(observer1->IsOpen(), kTimeout); in TEST_P()
1917 EXPECT_TRUE_WAIT(observer2->IsOpen(), kTimeout); in TEST_P()
1961 EXPECT_TRUE_WAIT(observer1->IsOpen(), kTimeout); in TEST_P()
1962 EXPECT_TRUE_WAIT(observer2->IsOpen(), kTimeout); in TEST_P()
1985 EXPECT_TRUE_WAIT(observer1->IsOpen(), kTimeout); in TEST_P()
[all …]
Drtc_stats_collector_unittest.cc567 EXPECT_TRUE_WAIT(callback->report(), kGetStatsReportTimeoutMs); in WaitForReport()
735 EXPECT_TRUE_WAIT(result, kGetStatsReportTimeoutMs); in TEST_F()
743 EXPECT_TRUE_WAIT(a, kGetStatsReportTimeoutMs); in TEST_F()
744 EXPECT_TRUE_WAIT(b, kGetStatsReportTimeoutMs); in TEST_F()
745 EXPECT_TRUE_WAIT(c, kGetStatsReportTimeoutMs); in TEST_F()
774 EXPECT_TRUE_WAIT(a, kGetStatsReportTimeoutMs); in TEST_F()
775 EXPECT_TRUE_WAIT(b, kGetStatsReportTimeoutMs); in TEST_F()
776 EXPECT_TRUE_WAIT(c, kGetStatsReportTimeoutMs); in TEST_F()
3002 EXPECT_TRUE_WAIT(callback1->called(), kGetStatsReportTimeoutMs); in TEST_F()
3003 EXPECT_TRUE_WAIT(callback2->called(), kGetStatsReportTimeoutMs); in TEST_F()
[all …]
/external/webrtc/rtc_tools/network_tester/
Dnetwork_tester_unittest.cc31 EXPECT_TRUE_WAIT(server.IsTestDone() && client.IsTestDone(), 2000); in TEST()

12