Testing the data structures is all fine and good, but I wanted to
make sure the actual underlying timer was set to the right interval,
after all that std::chrono wrangling.
Details
Details
collectionschedulertest still passes
Diff Detail
Diff Detail
- Repository
- R165 Akonadi
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
autotests/server/collectionschedulertest.cpp | ||
---|---|---|
33 | No, you use std::chrono_literals :-) | |
src/server/collectionscheduler.h | ||
72 | So why not return std::chrono::milliseconds, then? This is why we have std::chrono now - so that we no longer have to awkwardly check the documentation for time units and get |