Searched refs:icmp_session_ (Results 1 – 4 of 4) sorted by relevance
71 IcmpSessionTest() : icmp_session_(&dispatcher_) {} in IcmpSessionTest()75 icmp_session_.tick_clock_ = &testing_clock_; in SetUp()78 icmp_session_.icmp_.reset(icmp_); in SetUp()105 return icmp_session_.Start( in Start()110 icmp_session_.Stop(); in Stop()114 return icmp_session_.seq_num_to_sent_recv_time_.find(seq_num) != in SeqNumToSentRecvTimeContains()115 icmp_session_.seq_num_to_sent_recv_time_.end(); in SeqNumToSentRecvTimeContains()119 return icmp_session_.received_echo_reply_seq_numbers_.find(seq_num) != in ReceivedEchoReplySeqNumbersContains()120 icmp_session_.received_echo_reply_seq_numbers_.end(); in ReceivedEchoReplySeqNumbersContains()126 icmp_session_.echo_id_, in TransmitEchoRequestTask()[all …]
168 icmp_session_ = new NiceMock<MockIcmpSession>(&dispatcher_); in SetUp()170 connection_diagnostics_.icmp_session_.reset( in SetUp()171 icmp_session_); // Passes ownership in SetUp()260 EXPECT_FALSE(connection_diagnostics_.icmp_session_->IsStarted()); in VerifyStopped()277 EXPECT_CALL(*icmp_session_, Stop()); in ExpectIcmpSessionStop()403 EXPECT_CALL(*icmp_session_, Start(IsSameIPAddress(address), _)) in ExpectPingHostStartSuccess()412 EXPECT_CALL(*icmp_session_, Start(IsSameIPAddress(address), _)) in ExpectPingHostStartFailure()837 NiceMock<MockIcmpSession>* icmp_session_; member in shill::ConnectionDiagnosticsTest
350 std::unique_ptr<IcmpSession> icmp_session_; variable
168 icmp_session_(new IcmpSession(dispatcher_)), in ConnectionDiagnostics()234 icmp_session_->Stop(); in Stop()583 if (!icmp_session_->Start( in PingHost()