MCPcopy Create free account
hub / github.com/apitrace/apitrace / TEST

Function TEST

lib/trace/trace_parser_flags_test.cpp:624–636  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

622
623
624TEST(common_parser, lookupCallFlags)
625{
626 typedef const Entry<CallFlags> * ConstIterator;
627
628 ConstIterator first = &entries[0];
629 ConstIterator last = &entries[sizeof entries / sizeof entries[0]];
630
631 for (ConstIterator it = first; it != last; ++it) {
632 CallFlags flags = Parser::lookupCallFlags(it->name);
633
634 EXPECT_EQ(it->value, flags) << "flags differ for " << it->name;
635 }
636}
637
638
639int

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected