| 114 | } |
| 115 | |
| 116 | void multiple_testcases() const { |
| 117 | const char* argv[] = {"./test_runner", "TestClass::TestMethod", "TestClass::AnotherTestMethod"}; |
| 118 | options args(getArrayLength(argv), argv); |
| 119 | const std::map<std::string, std::set<std::string>> expected{ |
| 120 | { "TestClass", { "TestMethod", "AnotherTestMethod" } } |
| 121 | }; |
| 122 | ASSERT(expected == args.which_tests()); |
| 123 | ASSERT(args.errors().empty()); |
| 124 | } |
| 125 | |
| 126 | void multiple_testcases_ignore_duplicates() const { |
| 127 | const char* argv[] = {"./test_runner", "TestClass::TestMethod", "TestClass"}; |
nothing calls this directly
no test coverage detected