autotests: remove code duplication by moving try+catch+qWarning+qFatal to FakeAkonadiServer
ClosedPublic

Authored by dfaure on Apr 7 2019, 2:04 PM.

Details

Summary

Less code to write in new unittests is always a good thing

Test Plan

ctest, all passed except akonadi-sqlite-referencetest, which is unrelated
and on death row anyway.

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.
dfaure created this revision.Apr 7 2019, 2:04 PM
Restricted Application added a project: KDE PIM. · View Herald TranscriptApr 7 2019, 2:04 PM
dfaure requested review of this revision.Apr 7 2019, 2:04 PM
dvratil accepted this revision.Apr 7 2019, 3:40 PM

Nice!

This revision is now accepted and ready to land.Apr 7 2019, 3:40 PM
This revision was automatically updated to reflect the committed changes.