Searched refs:FindNestedTypeByName (Results 1 – 3 of 3) sorted by relevance
1389 TEST_F(NestedDescriptorTest, FindNestedTypeByName) { in TEST_F() argument1390 EXPECT_EQ(foo_ , message_ ->FindNestedTypeByName("Foo")); in TEST_F()1391 EXPECT_EQ(bar_ , message_ ->FindNestedTypeByName("Bar")); in TEST_F()1392 EXPECT_EQ(foo2_, message2_->FindNestedTypeByName("Foo")); in TEST_F()1393 EXPECT_EQ(baz2_, message2_->FindNestedTypeByName("Baz")); in TEST_F()1395 EXPECT_TRUE(message_ ->FindNestedTypeByName("NoSuchType") == NULL); in TEST_F()1396 EXPECT_TRUE(message_ ->FindNestedTypeByName("Baz" ) == NULL); in TEST_F()1397 EXPECT_TRUE(message2_->FindNestedTypeByName("Bar" ) == NULL); in TEST_F()1399 EXPECT_TRUE(message_->FindNestedTypeByName("Qux") == NULL); in TEST_F()5089 EXPECT_TRUE(foo->FindNestedTypeByName("NoSuchMessageType") == NULL); in TEST_F()[all …]
216 const Descriptor* FindNestedTypeByName(const string& name) const;
1266 Descriptor::FindNestedTypeByName(const string& key) const { in FindNestedTypeByName() function in google::protobuf::Descriptor