| 24 | }; |
| 25 | |
| 26 | void UtilsTest::testDurationFromString() |
| 27 | { |
| 28 | QFETCH(QString, str); |
| 29 | QFETCH(std::chrono::microseconds, us); |
| 30 | QFETCH(bool, ok); |
| 31 | |
| 32 | bool _ok = false; |
| 33 | QCOMPARE(us, Cutelyst::Utils::durationFromString(str, &_ok)); |
| 34 | QCOMPARE(ok, _ok); |
| 35 | } |
| 36 | |
| 37 | void UtilsTest::testDurationFromString_data() |
| 38 | { |
nothing calls this directly
no outgoing calls
no test coverage detected