MCPcopy Create free account
hub / github.com/alibaba/PhotonLibOS / print_sample

Function print_sample

common/test/test_constexprstr.cpp:32–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 PURGE, MKCALENDAR, LINK, UNLINK);
31
32__attribute__((noinline)) void print_sample() {
33 for (auto x = VERBS::UNKNOW; x <= VERBS::UNLINK; x = VERBS((int)x + 1)) {
34 puts(verbs[x].data());
35 }
36}
37TEST(Basic_simple_tests, HTTPVerb) {
38 print_sample();
39 EXPECT_TRUE(verbs[VERBS::UNKNOW] == "UNKNOW");

Callers 1

TESTFunction · 0.85

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected