| 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 | { |