| 61 | |
| 62 | |
| 63 | void which_test_method() const { |
| 64 | const char* argv[] = {"./test_runner", "TestClass::TestMethod"}; |
| 65 | options args(getArrayLength(argv), argv); |
| 66 | const std::map<std::string, std::set<std::string>> expected{ |
| 67 | { "TestClass", {"TestMethod"} } |
| 68 | }; |
| 69 | ASSERT(expected == args.which_tests()); |
| 70 | ASSERT(args.errors().empty()); |
| 71 | } |
| 72 | |
| 73 | |
| 74 | void no_test_method() const { |
nothing calls this directly
no test coverage detected