Home
last modified time | relevance | path

Searched refs:kString1 (Results 1 – 2 of 2) sorted by relevance

/system/connectivity/shill/net/
Dnetlink_packet_unittest.cc90 const char kString1[] = "A"; in TEST_F() local
96 ASSERT_EQ(2, sizeof(kString1)); in TEST_F()
107 memcpy(data + sizeof(nlmsghdr), kString1, sizeof(kString1)); in TEST_F()
118 EXPECT_STREQ(kString1, string_piece); in TEST_F()
Dip_address_unittest.cc174 const string kString1(kV4String1); in TEST_F() local
177 EXPECT_FALSE(address.SetAddressAndPrefixFromString(kString1)); in TEST_F()
178 EXPECT_FALSE(address.SetAddressAndPrefixFromString(kString1 + "/")); in TEST_F()
179 EXPECT_FALSE(address.SetAddressAndPrefixFromString(kString1 + "/10x")); in TEST_F()
181 EXPECT_TRUE(address.SetAddressAndPrefixFromString(kString1 + "/0")); in TEST_F()
183 EXPECT_TRUE(address.SetAddressAndPrefixFromString(kString1 + "/32")); in TEST_F()
185 EXPECT_FALSE(address.SetAddressAndPrefixFromString(kString1 + "/33")); in TEST_F()
186 EXPECT_FALSE(address.SetAddressAndPrefixFromString(kString1 + "/-1")); in TEST_F()
187 EXPECT_TRUE(address.SetAddressAndPrefixFromString(kString1 + "/10")); in TEST_F()
194 const string kString1(kV4String1); in TEST_F() local
[all …]