Searched refs:ExpandName (Results 1 – 1 of 1) sorted by relevance
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/ |
D | ares-test-misc.cc | 318 std::string ExpandName(const std::vector<byte>& data, int offset, in ExpandName() function 334 TEST_F(LibraryTest, ExpandName) { in TEST_F() argument 337 EXPECT_EQ("a.bc.def", ExpandName(data1, 0, &enclen)); in TEST_F() 341 EXPECT_EQ("", ExpandName(data2, 0, &enclen)); in TEST_F() 348 EXPECT_EQ("def", ExpandName(data3, 2, &enclen)); in TEST_F() 350 EXPECT_EQ("def", ExpandName(data3, 7, &enclen)); in TEST_F() 357 EXPECT_EQ("def", ExpandName(data4, 2, &enclen)); in TEST_F() 359 EXPECT_EQ("a.def", ExpandName(data4, 7, &enclen)); in TEST_F() 366 EXPECT_EQ("def", ExpandName(data5, 2, &enclen)); in TEST_F() 368 EXPECT_EQ("a.b.def", ExpandName(data5, 7, &enclen)); in TEST_F() [all …]
|