| 151 | } |
| 152 | |
| 153 | void TestList::addTest(std::string_view testName, std::function<TestBase*()> callback) |
| 154 | { |
| 155 | if (!testName.empty()) |
| 156 | { |
| 157 | _childTestNames.emplace_back( |
| 158 | fmt::format("{}:{}", static_cast<int>(_childTestNames.size() + 1), testName)); |
| 159 | _testCallbacks.emplace_back(callback); |
| 160 | } |
| 161 | } |
| 162 | |
| 163 | void TestList::runThisTest() |
| 164 | { |
nothing calls this directly
no test coverage detected