OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:FindEnumValueByName
(Results
1 - 4
of
4
) sorted by null
/external/protobuf/src/google/protobuf/
descriptor_unittest.cc
306
TEST_F(FileDescriptorTest,
FindEnumValueByName
) {
307
EXPECT_EQ(foo_enum_value_, foo_file_->
FindEnumValueByName
("FOO_ENUM_VALUE"));
308
EXPECT_EQ(bar_enum_value_, bar_file_->
FindEnumValueByName
("BAR_ENUM_VALUE"));
310
EXPECT_TRUE(foo_file_->
FindEnumValueByName
("BAR_ENUM_VALUE") == NULL);
311
EXPECT_TRUE(bar_file_->
FindEnumValueByName
("FOO_ENUM_VALUE") == NULL);
312
EXPECT_TRUE(baz_file_->
FindEnumValueByName
("FOO_ENUM_VALUE") == NULL);
314
EXPECT_TRUE(foo_file_->
FindEnumValueByName
("NO_SUCH_VALUE") == NULL);
315
EXPECT_TRUE(foo_file_->
FindEnumValueByName
("FooMessage") == NULL);
[
all
...]
descriptor.h
199
const EnumValueDescriptor*
FindEnumValueByName
(const string& name) const;
[
all
...]
test_util.cc
[
all
...]
descriptor.cc
[
all
...]
Completed in 26 milliseconds