• Home
  • Raw
  • Download

Lines Matching refs:connection_state

99     EXPECT_EQ(info1.connection_state(), info2.connection_state());  in ExpectSocketInfoEqual()
369 SocketInfo::ConnectionState connection_state = in TEST_F() local
372 EXPECT_FALSE(reader_.ParseConnectionState("", &connection_state)); in TEST_F()
373 EXPECT_FALSE(reader_.ParseConnectionState("0", &connection_state)); in TEST_F()
374 EXPECT_FALSE(reader_.ParseConnectionState("X", &connection_state)); in TEST_F()
376 EXPECT_TRUE(reader_.ParseConnectionState("00", &connection_state)); in TEST_F()
377 EXPECT_EQ(SocketInfo::kConnectionStateUnknown, connection_state); in TEST_F()
378 EXPECT_TRUE(reader_.ParseConnectionState("01", &connection_state)); in TEST_F()
379 EXPECT_EQ(SocketInfo::kConnectionStateEstablished, connection_state); in TEST_F()
380 EXPECT_TRUE(reader_.ParseConnectionState("02", &connection_state)); in TEST_F()
381 EXPECT_EQ(SocketInfo::kConnectionStateSynSent, connection_state); in TEST_F()
382 EXPECT_TRUE(reader_.ParseConnectionState("03", &connection_state)); in TEST_F()
383 EXPECT_EQ(SocketInfo::kConnectionStateSynRecv, connection_state); in TEST_F()
384 EXPECT_TRUE(reader_.ParseConnectionState("04", &connection_state)); in TEST_F()
385 EXPECT_EQ(SocketInfo::kConnectionStateFinWait1, connection_state); in TEST_F()
386 EXPECT_TRUE(reader_.ParseConnectionState("05", &connection_state)); in TEST_F()
387 EXPECT_EQ(SocketInfo::kConnectionStateFinWait2, connection_state); in TEST_F()
388 EXPECT_TRUE(reader_.ParseConnectionState("06", &connection_state)); in TEST_F()
389 EXPECT_EQ(SocketInfo::kConnectionStateTimeWait, connection_state); in TEST_F()
390 EXPECT_TRUE(reader_.ParseConnectionState("07", &connection_state)); in TEST_F()
391 EXPECT_EQ(SocketInfo::kConnectionStateClose, connection_state); in TEST_F()
392 EXPECT_TRUE(reader_.ParseConnectionState("08", &connection_state)); in TEST_F()
393 EXPECT_EQ(SocketInfo::kConnectionStateCloseWait, connection_state); in TEST_F()
394 EXPECT_TRUE(reader_.ParseConnectionState("09", &connection_state)); in TEST_F()
395 EXPECT_EQ(SocketInfo::kConnectionStateLastAck, connection_state); in TEST_F()
396 EXPECT_TRUE(reader_.ParseConnectionState("0A", &connection_state)); in TEST_F()
397 EXPECT_EQ(SocketInfo::kConnectionStateListen, connection_state); in TEST_F()
398 EXPECT_TRUE(reader_.ParseConnectionState("0B", &connection_state)); in TEST_F()
399 EXPECT_EQ(SocketInfo::kConnectionStateClosing, connection_state); in TEST_F()
403 base::StringPrintf("%02X", i), &connection_state)); in TEST_F()
404 EXPECT_EQ(SocketInfo::kConnectionStateUnknown, connection_state); in TEST_F()