Lines Matching refs:HasAttribute
408 EXPECT_TRUE(msg.HasAttribute(IFLA_ADDRESS)); in TestParseLink()
412 EXPECT_TRUE(msg.HasAttribute(IFLA_IFNAME)); in TestParseLink()
416 EXPECT_TRUE(msg.HasAttribute(IFLA_MTU)); in TestParseLink()
421 EXPECT_TRUE(msg.HasAttribute(IFLA_QDISC)); in TestParseLink()
425 EXPECT_TRUE(msg.HasAttribute(IFLA_OPERSTATE)); in TestParseLink()
445 EXPECT_TRUE(msg.HasAttribute(IFA_ADDRESS)); in TestParseAddress()
479 EXPECT_TRUE(msg.HasAttribute(RTA_DST)); in TestParseRoute()
486 EXPECT_TRUE(msg.HasAttribute(RTA_SRC)); in TestParseRoute()
493 EXPECT_TRUE(msg.HasAttribute(RTA_GATEWAY)); in TestParseRoute()
499 EXPECT_TRUE(msg.HasAttribute(RTA_OIF)); in TestParseRoute()
504 EXPECT_FALSE(msg.HasAttribute(RTA_OIF)); in TestParseRoute()
507 EXPECT_TRUE(msg.HasAttribute(RTA_PRIORITY)); in TestParseRoute()
513 EXPECT_FALSE(msg.HasAttribute(RTA_PRIORITY)); in TestParseRoute()
772 EXPECT_FALSE(msg.HasAttribute(IFLA_ADDRESS)); in TEST_F()
773 EXPECT_FALSE(msg.HasAttribute(IFLA_IFNAME)); in TEST_F()
774 EXPECT_FALSE(msg.HasAttribute(IFLA_MTU)); in TEST_F()
775 EXPECT_FALSE(msg.HasAttribute(IFLA_QDISC)); in TEST_F()
776 EXPECT_FALSE(msg.HasAttribute(IFLA_OPERSTATE)); in TEST_F()