OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:FindEnumTypeByName
(Results
1 - 3
of
3
) sorted by null
/external/protobuf/src/google/protobuf/
descriptor_unittest.cc
294
TEST_F(FileDescriptorTest,
FindEnumTypeByName
) {
295
EXPECT_EQ(foo_enum_, foo_file_->
FindEnumTypeByName
("FooEnum"));
296
EXPECT_EQ(bar_enum_, bar_file_->
FindEnumTypeByName
("BarEnum"));
298
EXPECT_TRUE(foo_file_->
FindEnumTypeByName
("BarEnum") == NULL);
299
EXPECT_TRUE(bar_file_->
FindEnumTypeByName
("FooEnum") == NULL);
300
EXPECT_TRUE(baz_file_->
FindEnumTypeByName
("FooEnum") == NULL);
302
EXPECT_TRUE(foo_file_->
FindEnumTypeByName
("NoSuchEnum") == NULL);
303
EXPECT_TRUE(foo_file_->
FindEnumTypeByName
("FooMessage") == NULL);
[
all
...]
descriptor.h
195
const EnumDescriptor*
FindEnumTypeByName
(const string& name) const;
[
all
...]
descriptor.cc
[
all
...]
Completed in 21 milliseconds