for sorting tests by suite/file/line
| 1285 | |
| 1286 | // for sorting tests by suite/file/line |
| 1287 | bool suiteOrderComparator(const TestCase* lhs, const TestCase* rhs) { |
| 1288 | const int res = std::strcmp(lhs->m_test_suite, rhs->m_test_suite); |
| 1289 | if(res != 0) |
| 1290 | return res < 0; |
| 1291 | return fileOrderComparator(lhs, rhs); |
| 1292 | } |
| 1293 | |
| 1294 | // for sorting tests by name/suite/file/line |
| 1295 | bool nameOrderComparator(const TestCase* lhs, const TestCase* rhs) { |
no test coverage detected