Lines Matching refs:ParseConnectionState
368 TEST_F(SocketInfoReaderTest, ParseConnectionState) { in TEST_F() argument
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()
378 EXPECT_TRUE(reader_.ParseConnectionState("01", &connection_state)); in TEST_F()
380 EXPECT_TRUE(reader_.ParseConnectionState("02", &connection_state)); in TEST_F()
382 EXPECT_TRUE(reader_.ParseConnectionState("03", &connection_state)); in TEST_F()
384 EXPECT_TRUE(reader_.ParseConnectionState("04", &connection_state)); in TEST_F()
386 EXPECT_TRUE(reader_.ParseConnectionState("05", &connection_state)); in TEST_F()
388 EXPECT_TRUE(reader_.ParseConnectionState("06", &connection_state)); in TEST_F()
390 EXPECT_TRUE(reader_.ParseConnectionState("07", &connection_state)); in TEST_F()
392 EXPECT_TRUE(reader_.ParseConnectionState("08", &connection_state)); in TEST_F()
394 EXPECT_TRUE(reader_.ParseConnectionState("09", &connection_state)); in TEST_F()
396 EXPECT_TRUE(reader_.ParseConnectionState("0A", &connection_state)); in TEST_F()
398 EXPECT_TRUE(reader_.ParseConnectionState("0B", &connection_state)); in TEST_F()
402 EXPECT_TRUE(reader_.ParseConnectionState( in TEST_F()