MCPcopy Create free account
hub / github.com/apache/mesos / TestSlaveMessage_E_IsValid

Function TestSlaveMessage_E_IsValid

src/tests/common/http_tests.pb.cc:215–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213 return protobuf_http_5ftests_2eproto::file_level_enum_descriptors[0];
214}
215bool TestSlaveMessage_E_IsValid(int value) {
216 switch (value) {
217 case 0:
218 return true;
219 default:
220 return false;
221 }
222}
223
224#if !defined(_MSC_VER) || _MSC_VER >= 1900
225const TestSlaveMessage_E TestSlaveMessage::A_SLAVE_ENUM;

Callers 5

E_IsValidMethod · 0.85
set_some_slave_enumMethod · 0.85
set_some_slave_enumsMethod · 0.85
add_some_slave_enumsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected