Lines Matching refs:ParseConnectionState
368 TEST_F(SocketInfoReaderTest, ParseConnectionState) {
372 EXPECT_FALSE(reader_.ParseConnectionState("", &connection_state));
373 EXPECT_FALSE(reader_.ParseConnectionState("0", &connection_state));
374 EXPECT_FALSE(reader_.ParseConnectionState("X", &connection_state));
376 EXPECT_TRUE(reader_.ParseConnectionState("00", &connection_state));
378 EXPECT_TRUE(reader_.ParseConnectionState("01", &connection_state));
380 EXPECT_TRUE(reader_.ParseConnectionState("02", &connection_state));
382 EXPECT_TRUE(reader_.ParseConnectionState("03", &connection_state));
384 EXPECT_TRUE(reader_.ParseConnectionState("04", &connection_state));
386 EXPECT_TRUE(reader_.ParseConnectionState("05", &connection_state));
388 ParseConnectionState("06", &connection_state));
390 EXPECT_TRUE(reader_.ParseConnectionState("07", &connection_state));
392 EXPECT_TRUE(reader_.ParseConnectionState("08", &connection_state));
394 EXPECT_TRUE(reader_.ParseConnectionState("09", &connection_state));
396 EXPECT_TRUE(reader_.ParseConnectionState("0A", &connection_state));
398 EXPECT_TRUE(reader_.ParseConnectionState("0B", &connection_state));
402 EXPECT_TRUE(reader_.ParseConnectionState(