MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / test_options

Function test_options

tests/proto.cc:173–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173static void test_options(void)
174{
175 TestProto proto;
176 const auto* descriptor = proto.descriptor();
177 const auto* field = descriptor->FindFieldByName("i64");
178 const auto& options = field->options();
179 const std::string s = options.GetExtension(help);
180 AssertThat(s, Equals("i64"));
181}
182
183static void test_findallfields(void)
184{

Callers 1

mainFunction · 0.85

Calls 1

descriptorMethod · 0.80

Tested by

no test coverage detected