MCPcopy Create free account
hub / github.com/RenderKit/embree / print_tests

Method print_tests

tutorials/verify/verify.cpp:7012–7024  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7010 }
7011
7012 void VerifyApplication::print_tests(Ref<Test> test, size_t depth)
7013 {
7014 if (!test->isEnabled()) return;
7015
7016 if (Ref<TestGroup> group = test.dynamicCast<TestGroup>())
7017 {
7018 std::cout << std::string(2*depth,' ') << group->name << (group->name != "" ? " " : "") << "{" << std::endl;
7019 for (auto& t : group->tests) print_tests(t,depth+1);
7020 std::cout << std::string(2*depth,' ') << "}" << std::endl;
7021 } else {
7022 std::cout << std::string(2*depth,' ') << test->name << std::endl;
7023 }
7024 }
7025
7026 void VerifyApplication::print_ctests(Ref<Test> test, size_t depth)
7027 {

Callers

nothing calls this directly

Calls 1

isEnabledMethod · 0.45

Tested by

no test coverage detected