Lines Matching refs:GetAttribute
409 EXPECT_EQ(address.GetLength(), msg.GetAttribute(IFLA_ADDRESS).GetLength()); in TestParseLink()
410 EXPECT_TRUE(msg.GetAttribute(IFLA_ADDRESS).Equals(address)); in TestParseLink()
413 EXPECT_EQ(name.GetLength(), msg.GetAttribute(IFLA_IFNAME).GetLength()); in TestParseLink()
414 EXPECT_TRUE(msg.GetAttribute(IFLA_IFNAME).Equals(name)); in TestParseLink()
418 EXPECT_TRUE(msg.GetAttribute(IFLA_MTU).ConvertToCPUUInt32(&mtu_val)); in TestParseLink()
422 EXPECT_EQ(qdisc.GetLength(), msg.GetAttribute(IFLA_QDISC).GetLength()); in TestParseLink()
423 EXPECT_TRUE(msg.GetAttribute(IFLA_QDISC).Equals(qdisc)); in TestParseLink()
426 EXPECT_EQ(oper_state, msg.GetAttribute(IFLA_OPERSTATE).GetConstData()[0]); in TestParseLink()
446 EXPECT_EQ(address.GetLength(), msg.GetAttribute(IFA_ADDRESS).GetLength()); in TestParseAddress()
449 msg.GetAttribute(IFA_ADDRESS), in TestParseAddress()
481 msg.GetAttribute(RTA_DST), in TestParseRoute()
488 msg.GetAttribute(RTA_SRC), in TestParseRoute()
495 msg.GetAttribute(RTA_GATEWAY)).Equals(gateway)); in TestParseRoute()
501 EXPECT_TRUE(msg.GetAttribute(RTA_OIF).ConvertToCPUUInt32(&int_val)); in TestParseRoute()
510 msg.GetAttribute(RTA_PRIORITY).ConvertToCPUUInt32(&metric_val)); in TestParseRoute()