Lines Matching refs:IcmpSession
84 IcmpSession::kNextUniqueEchoId = 0; in TearDown()
87 MOCK_METHOD1(ResultCallback, void(const IcmpSession::IcmpSessionResult&));
145 IcmpSession::IcmpSessionResult GenerateIcmpResult() { in GenerateIcmpResult()
149 std::map<uint16_t, IcmpSession::SentRecvTimePair>* GetSeqNumToSentRecvTime() { in GetSeqNumToSentRecvTime()
156 return IcmpSession::kNextUniqueEchoId; in GetNextUniqueEchoId()
159 return IcmpSession::kTotalNumEchoRequests; in GetTotalNumEchoRequests()
167 size_t GetTimeoutSeconds() const { return IcmpSession::kTimeoutSeconds; } in GetTimeoutSeconds()
169 return IcmpSession::kEchoRequestIntervalSeconds; in GetEchoRequestIntervalSeconds()
174 IcmpSession icmp_session_;
189 IcmpSession session(&dispatcher_); in TEST_F()
230 IcmpSession::IcmpSessionResult expected_result; in TEST_F()
354 IcmpSession::IcmpSessionResult expected_partial_result; in TEST_F()
438 IcmpSession::IcmpSessionResult none_sent; in TEST_F()
439 EXPECT_FALSE(IcmpSession::AnyRepliesReceived(none_sent)); in TEST_F()
441 IcmpSession::IcmpSessionResult two_sent_none_received; in TEST_F()
444 EXPECT_FALSE(IcmpSession::AnyRepliesReceived(two_sent_none_received)); in TEST_F()
446 IcmpSession::IcmpSessionResult one_sent_one_received; in TEST_F()
448 EXPECT_TRUE(IcmpSession::AnyRepliesReceived(one_sent_one_received)); in TEST_F()
450 IcmpSession::IcmpSessionResult two_sent_one_received; in TEST_F()
453 EXPECT_TRUE(IcmpSession::AnyRepliesReceived(two_sent_one_received)); in TEST_F()
459 IcmpSession::IcmpSessionResult none_sent_none_received; in TEST_F()
460 EXPECT_FALSE(IcmpSession::IsPacketLossPercentageGreaterThan( in TEST_F()
464 IcmpSession::IcmpSessionResult three_sent_three_received; in TEST_F()
468 EXPECT_FALSE(IcmpSession::IsPacketLossPercentageGreaterThan( in TEST_F()
472 IcmpSession::IcmpSessionResult three_sent_two_received; in TEST_F()
476 EXPECT_FALSE(IcmpSession::IsPacketLossPercentageGreaterThan( in TEST_F()
478 EXPECT_FALSE(IcmpSession::IsPacketLossPercentageGreaterThan( in TEST_F()
480 EXPECT_TRUE(IcmpSession::IsPacketLossPercentageGreaterThan( in TEST_F()
482 EXPECT_TRUE(IcmpSession::IsPacketLossPercentageGreaterThan( in TEST_F()