Lines Matching refs:timer_state
106 EXPECT_EQ(info1.timer_state(), info2.timer_state()); in ExpectSocketInfoEqual()
409 SocketInfo::TimerState timer_state = SocketInfo::kTimerStateUnknown; in TEST_F() local
411 EXPECT_FALSE(reader_.ParseTimerState("", &timer_state)); in TEST_F()
412 EXPECT_FALSE(reader_.ParseTimerState("0", &timer_state)); in TEST_F()
413 EXPECT_FALSE(reader_.ParseTimerState("X", &timer_state)); in TEST_F()
414 EXPECT_FALSE(reader_.ParseTimerState("00", &timer_state)); in TEST_F()
416 EXPECT_TRUE(reader_.ParseTimerState("00:00000000", &timer_state)); in TEST_F()
417 EXPECT_EQ(SocketInfo::kTimerStateNoTimerPending, timer_state); in TEST_F()
418 EXPECT_TRUE(reader_.ParseTimerState("01:00000000", &timer_state)); in TEST_F()
419 EXPECT_EQ(SocketInfo::kTimerStateRetransmitTimerPending, timer_state); in TEST_F()
420 EXPECT_TRUE(reader_.ParseTimerState("02:00000000", &timer_state)); in TEST_F()
421 EXPECT_EQ(SocketInfo::kTimerStateAnotherTimerPending, timer_state); in TEST_F()
422 EXPECT_TRUE(reader_.ParseTimerState("03:00000000", &timer_state)); in TEST_F()
423 EXPECT_EQ(SocketInfo::kTimerStateInTimeWaitState, timer_state); in TEST_F()
424 EXPECT_TRUE(reader_.ParseTimerState("04:00000000", &timer_state)); in TEST_F()
425 EXPECT_EQ(SocketInfo::kTimerStateZeroWindowProbeTimerPending, timer_state); in TEST_F()
429 base::StringPrintf("%02X:00000000", i), &timer_state)); in TEST_F()
430 EXPECT_EQ(SocketInfo::kTimerStateUnknown, timer_state); in TEST_F()