for sorting tests by name/suite/file/line
| 1293 | |
| 1294 | // for sorting tests by name/suite/file/line |
| 1295 | bool nameOrderComparator(const TestCase* lhs, const TestCase* rhs) { |
| 1296 | const int res = std::strcmp(lhs->m_name, rhs->m_name); |
| 1297 | if(res != 0) |
| 1298 | return res < 0; |
| 1299 | return suiteOrderComparator(lhs, rhs); |
| 1300 | } |
| 1301 | |
| 1302 | DOCTEST_CLANG_SUPPRESS_WARNING_WITH_PUSH("-Wdeprecated-declarations") |
| 1303 | void color_to_stream(std::ostream& s, Color::Enum code) { |
nothing calls this directly
no test coverage detected