Home
last modified time | relevance | path

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

/external/webrtc/rtc_base/deprecated/
Dsignal_thread_unittest.cc114 EXPECT_EQ_WAIT(started, thread_started_, timeout); in ExpectStateWait()
115 EXPECT_EQ_WAIT(done, thread_done_, timeout); in ExpectStateWait()
116 EXPECT_EQ_WAIT(completed, thread_completed_, timeout); in ExpectStateWait()
117 EXPECT_EQ_WAIT(stopped, thread_stopped_, timeout); in ExpectStateWait()
118 EXPECT_EQ_WAIT(deleted, thread_deleted_, timeout); in ExpectStateWait()
/external/webrtc/pc/
Djsep_transport_controller_unittest.cc502 EXPECT_EQ_WAIT(cricket::kIceGatheringGathering, gathering_state_, kTimeout); in TEST_F()
647 EXPECT_EQ_WAIT(cricket::kIceConnectionFailed, connection_state_, kTimeout); in TEST_F()
649 EXPECT_EQ_WAIT(PeerConnectionInterface::kIceConnectionFailed, in TEST_F()
652 EXPECT_EQ_WAIT(PeerConnectionInterface::PeerConnectionState::kFailed, in TEST_F()
681 EXPECT_EQ_WAIT(cricket::kIceConnectionFailed, connection_state_, kTimeout); in TEST_F()
683 EXPECT_EQ_WAIT(PeerConnectionInterface::kIceConnectionFailed, in TEST_F()
686 EXPECT_EQ_WAIT(PeerConnectionInterface::PeerConnectionState::kFailed, in TEST_F()
696 EXPECT_EQ_WAIT(cricket::kIceConnectionConnected, connection_state_, kTimeout); in TEST_F()
698 EXPECT_EQ_WAIT(PeerConnectionInterface::kIceConnectionConnected, in TEST_F()
701 EXPECT_EQ_WAIT(PeerConnectionInterface::PeerConnectionState::kConnected, in TEST_F()
[all …]
Dpeer_connection_end_to_end_unittest.cc158 EXPECT_EQ_WAIT(buffer.data, in TestDataChannelSendAndReceive()
163 EXPECT_EQ_WAIT(buffer.data, in TestDataChannelSendAndReceive()
176 EXPECT_EQ_WAIT(DataChannelInterface::kOpen, local_dc->state(), kMaxWait); in WaitForDataChannelsToOpen()
179 EXPECT_EQ_WAIT(DataChannelInterface::kOpen, in WaitForDataChannelsToOpen()
188 EXPECT_EQ_WAIT(DataChannelInterface::kClosed, local_dc->state(), kMaxWait); in CloseDataChannels()
189 EXPECT_EQ_WAIT(DataChannelInterface::kClosed, in CloseDataChannels()
616 EXPECT_EQ_WAIT(message_1, dc_1_observer->last_message(), kMaxWait); in TEST_P()
619 EXPECT_EQ_WAIT(message_2, dc_2_observer->last_message(), kMaxWait); in TEST_P()
647 EXPECT_EQ_WAIT(DataChannelInterface::kClosed, caller_dc->state(), kMaxWait); in TEST_P()
709 EXPECT_EQ_WAIT(DataChannelInterface::kClosed, caller_dc->state(), kMaxWait); in TEST_P()
[all …]
Ddata_channel_unittest.cc259 EXPECT_EQ_WAIT(0U, webrtc_data_channel_->buffered_amount(), kDefaultTimeout); in TEST_F()
276 EXPECT_EQ_WAIT(0U, webrtc_data_channel_->buffered_amount(), kDefaultTimeout); in TEST_F()
328 EXPECT_EQ_WAIT(webrtc::DataChannelInterface::kOpen, dc->state(), 1000); in TEST_F()
359 EXPECT_EQ_WAIT(webrtc::DataChannelInterface::kOpen, dc->state(), 1000); in TEST_F()
383 EXPECT_EQ_WAIT(webrtc::DataChannelInterface::kOpen, in TEST_F()
397 EXPECT_EQ_WAIT(webrtc::DataChannelInterface::kOpen, in TEST_F()
403 EXPECT_EQ_WAIT(webrtc::DataChannelInterface::kClosed, in TEST_F()
461 EXPECT_EQ_WAIT(webrtc::DataChannelInterface::kOpen, dc->state(), 1000); in TEST_F()
525 EXPECT_EQ_WAIT(webrtc::DataChannelInterface::kOpen, dc->state(), 1000); in TEST_F()
638 EXPECT_EQ_WAIT(webrtc::DataChannelInterface::kClosed, in TEST_F()
Dpeer_connection_integrationtest.cc776 EXPECT_EQ_WAIT(true, observer->called(), kDefaultTimeout); in WaitForDescriptionFromObserver()
1680 EXPECT_EQ_WAIT(rtc::SrtpCryptoSuiteToName(expected_cipher_suite), in TestNegotiatedCipherSuite()
3278 EXPECT_EQ_WAIT(rtc::SrtpCryptoSuiteToName(kDefaultSrtpCryptoSuite), in TEST_P()
3300 EXPECT_EQ_WAIT(rtc::SrtpCryptoSuiteToName(kDefaultSrtpCryptoSuite), in TEST_P()
3456 EXPECT_EQ_WAIT(data, callee()->data_observer()->last_message(), in TEST_P()
3459 EXPECT_EQ_WAIT(data, caller()->data_observer()->last_message(), in TEST_P()
3484 EXPECT_EQ_WAIT(data, callee()->data_observer()->last_message(), in TEST_P()
3612 EXPECT_EQ_WAIT(data, callee()->data_observer()->last_message(), in TEST_P()
3615 EXPECT_EQ_WAIT(data, caller()->data_observer()->last_message(), in TEST_P()
3647 EXPECT_EQ_WAIT(data, callee()->data_observer()->last_message(), in TEST_P()
[all …]
Dpeer_connection_wrapper.cc139 EXPECT_EQ_WAIT(true, observer->called(), kDefaultTimeout); in CreateSdp()
172 EXPECT_EQ_WAIT(true, observer->called(), kDefaultTimeout); in SetRemoteDescription()
185 EXPECT_EQ_WAIT(true, observer->called(), kDefaultTimeout); in SetSdp()
Dpeer_connection_interface_unittest.cc878 EXPECT_EQ_WAIT(true, observer->called(), kTimeout); in DoCreateOfferAnswer()
904 EXPECT_EQ_WAIT(true, observer->called(), kTimeout); in DoSetSessionDescription()
1073 EXPECT_EQ_WAIT(stream_id, observer_.GetLastAddedStreamId(), kTimeout); in WaitAndVerifyOnAddStream()
1074 EXPECT_EQ_WAIT(expected_num_tracks, in WaitAndVerifyOnAddStream()
1193 EXPECT_EQ_WAIT(true, observer->called(), kTimeout); in CreateOfferWithOptions()
1924 EXPECT_EQ_WAIT(data_to_send1, observer1->last_message(), kTimeout); in TEST_P()
1925 EXPECT_EQ_WAIT(data_to_send2, observer2->last_message(), kTimeout); in TEST_P()
1937 EXPECT_EQ_WAIT(data_to_send2, observer2->last_message(), kTimeout); in TEST_P()
2030 EXPECT_EQ_WAIT(DataChannelInterface::kOpen, received_channel->state(), in TEST_P()
2331 EXPECT_EQ_WAIT(1, fake_certificate_generator_->generated_certificates(), in TEST_P()
[all …]
Dpeer_connection_histogram_unittest.cc715 EXPECT_EQ_WAIT(webrtc::PeerConnectionInterface::kIceGatheringComplete, in TEST_F()
Dpeer_connection_ice_unittest.cc867 EXPECT_EQ_WAIT(0u, caller->pc()->local_description()->candidates(0)->count(), in TEST_P()
/external/webrtc/media/sctp/
Dsctp_transport_unittest.cc447 EXPECT_EQ_WAIT(1, transport1_ready_to_send_count(), kDefaultTimeout); in TEST_P()
475 EXPECT_EQ_WAIT(2, transport1_ready_to_send_count(), kDefaultTimeout); in TEST_P()
487 EXPECT_EQ_WAIT(1, transport1_ready_to_send_count(), kDefaultTimeout); in TEST_P()
515 EXPECT_EQ_WAIT(2, transport1_ready_to_send_count(), kDefaultTimeout); in TEST_P()
582 EXPECT_EQ_WAIT(1, transport1_ready_to_send_count(), kDefaultTimeout); in TEST_P()
607 EXPECT_EQ_WAIT(2, transport1_ready_to_send_count(), kDefaultTimeout); in TEST_P()
608 EXPECT_EQ_WAIT(message_count, receiver2()->num_messages_received(), in TEST_P()
621 EXPECT_EQ_WAIT(1, transport1_ready_to_send_count(), kDefaultTimeout); in TEST_F()
631 EXPECT_EQ_WAIT(1, transport1_ready_to_send_count(), kDefaultTimeout); in TEST_F()
764 EXPECT_EQ_WAIT(2, transport2_observer.StreamCloseCount(1), kDefaultTimeout); in TEST_F()
/external/webrtc/rtc_base/
Dsocket_unittest.cc278 EXPECT_EQ_WAIT(AsyncSocket::CS_CONNECTED, client->GetState(), kTimeout); in ConnectInternal()
327 EXPECT_EQ_WAIT(AsyncSocket::CS_CONNECTED, client->GetState(), kTimeout); in ConnectWithDnsLookupInternal()
356 EXPECT_EQ_WAIT(AsyncSocket::CS_CLOSED, client->GetState(), kTimeout); in ConnectFailInternal()
398 EXPECT_EQ_WAIT(AsyncSocket::CS_CLOSED, client->GetState(), kTimeout); in ConnectWithDnsLookupFailInternal()
454 EXPECT_EQ_WAIT(AsyncSocket::CS_CONNECTED, client->GetState(), kTimeout); in ConnectWhileNotClosedInternal()
491 EXPECT_EQ_WAIT(AsyncSocket::CS_CLOSED, client->GetState(), kTimeout); in ServerCloseDuringConnectInternal()
526 EXPECT_EQ_WAIT(AsyncSocket::CS_CLOSED, accepted->GetState(), kTimeout); in ClientCloseDuringConnectInternal()
560 EXPECT_EQ_WAIT(AsyncSocket::CS_CONNECTED, client->GetState(), kTimeout); in ServerCloseInternal()
581 EXPECT_EQ_WAIT(AsyncSocket::CS_CLOSED, client->GetState(), kTimeout); in ServerCloseInternal()
635 EXPECT_EQ_WAIT(AsyncSocket::CS_CONNECTED, client->GetState(), kTimeout); in CloseInClosedCallbackInternal()
[all …]
Dssl_adapter_unittest.cc354 EXPECT_EQ_WAIT(rtc::AsyncSocket::CS_CONNECTED, client_->GetState(), in TestHandshake()
362 EXPECT_EQ_WAIT(rtc::AsyncSocket::CS_CLOSED, client_->GetState(), in TestHandshake()
376 EXPECT_EQ_WAIT(message, server_->GetReceivedData(), kTimeout); in TestTransfer()
382 EXPECT_EQ_WAIT(message, client_->GetReceivedData(), kTimeout); in TestTransfer()
504 EXPECT_EQ_WAIT(expected, server_->GetReceivedData(), kTimeout); in TEST_F()
511 EXPECT_EQ_WAIT(expected, server_->GetReceivedData(), kTimeout); in TEST_F()
Dgunit.h52 #define EXPECT_EQ_WAIT(v1, v2, timeout) \ macro
Dssl_stream_adapter_unittest.cc894 EXPECT_EQ_WAIT(static_cast<size_t>(sent_), received_.size(), 1000); in TestTransfer()
1041 EXPECT_EQ_WAIT(rtc::SS_CLOSED, server_ssl_->GetState(), handshake_wait_); in TEST_P()
/external/webrtc/p2p/base/
Dtcp_port_unittest.cc240 EXPECT_EQ_WAIT(10, client_counter.sent_packets(), kTimeout); in TEST_F()
241 EXPECT_EQ_WAIT(10, server_counter.sent_packets(), kTimeout); in TEST_F()
Dp2p_transport_channel_unittest.cc1504 EXPECT_EQ_WAIT(LOCAL_PORT_TYPE, in TEST_F()
1613 EXPECT_EQ_WAIT(PRFLX_PORT_TYPE, in TEST_F()
1655 EXPECT_EQ_WAIT(PRFLX_PORT_TYPE, in TEST_F()
1671 EXPECT_EQ_WAIT(RELAY_PORT_TYPE, in TEST_F()
2088 EXPECT_EQ_WAIT(IceGatheringState::kIceGatheringComplete, in TEST_F()
2214 EXPECT_EQ_WAIT(IceGatheringState::kIceGatheringComplete, in TEST_F()
3431 EXPECT_EQ_WAIT(IceGatheringState::kIceGatheringComplete, ch.gathering_state(), in TEST_F()
3515 EXPECT_EQ_WAIT(IceTransportState::STATE_FAILED, channel_state(), in TEST_F()
3598 EXPECT_EQ_WAIT(conn2, ch.selected_connection(), kMediumTimeout); in TEST_F()
3679 EXPECT_EQ_WAIT(conn1, ch.selected_connection(), kDefaultTimeout); in TEST_F()
[all …]
Dstun_port_unittest.cc258 EXPECT_EQ_WAIT(error_event_.error_code, cricket::SERVER_NOT_REACHABLE_ERROR, in TEST_F()
Ddtls_transport_unittest.cc572 EXPECT_EQ_WAIT(1, client1_.received_dtls_client_hellos(), kTimeout); in TEST_F()
Dport_unittest.cc613 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, ch2->conn()->write_state(), in ConnectStartedChannels()
2866 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, ch1.conn()->write_state(), in TEST_F()
/external/webrtc/system_wrappers/include/
Dmetrics.h39 EXPECT_EQ_WAIT(val1, val2, timeout)
/external/webrtc/media/engine/
Dwebrtc_video_engine_unittest.cc225 EXPECT_EQ_WAIT((c), renderer_.num_rendered_frames(), (t)); \
231 EXPECT_EQ_WAIT((c), (r).num_rendered_frames(), (t)); \
818 EXPECT_EQ_WAIT(1u, encoder_factory_->encoders().size(), kTimeout); in TEST_F()
1359 EXPECT_EQ_WAIT(1, renderer_.num_rendered_frames(), kTimeout); in DeliverKeyFrameAndWait()
1390 EXPECT_EQ_WAIT(1, renderer_.num_rendered_frames(), kTimeout); in TEST_F()
1404 EXPECT_EQ_WAIT(1, renderer_.num_rendered_frames(), kTimeout); in TEST_F()
1418 EXPECT_EQ_WAIT(1, renderer_.num_rendered_frames(), kTimeout); in TEST_F()
1627 EXPECT_EQ_WAIT(1, renderer2_.num_rendered_frames(), kTimeout); in TwoStreamsSendAndReceive()
1843 EXPECT_EQ_WAIT(NumRtpBytes() - kRtpHeaderSize * NumRtpPackets(), in TEST_F()
1845 EXPECT_EQ_WAIT(NumRtpPackets(), GetSenderStats(0).packets_sent, kTimeout); in TEST_F()
[all …]
/external/webrtc/call/adaptation/
Dresource_adaptation_processor_unittest.cc446 EXPECT_EQ_WAIT(1u, restrictions_listener_.restrictions_updated_count(), in TEST_F()
/external/webrtc/p2p/client/
Dbasic_port_allocator_unittest.cc1789 EXPECT_EQ_WAIT(2U, ports_.size(), kDefaultAllocationTimeout); in TEST_F()