<table><tr><td style="">dfaure created this revision.<br />dfaure added a reviewer: dvratil.<br />dfaure requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D20512">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This way AkonadiServer::instance()->intervalChecker() is never null<br />
anymore, which simplifies some code at little bit, and will allow<br />
testing how NotificationCollector interacts with IntervalCheck.</p>

<p>BTW CacheCleaner needs the if(), it's optional (null if configured away by user)</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>full "ctest"</p></div></div><br /><div><strong>BRANCH</strong><div><div>2019_04_collectionscheduler_interval</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D20512">https://phabricator.kde.org/D20512</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/server/CMakeLists.txt<br />
autotests/server/collectionschedulertest.cpp<br />
autotests/server/fakeakonadiserver.cpp<br />
autotests/server/fakecollectionscheduler.cpp<br />
autotests/server/fakecollectionscheduler.h<br />
autotests/server/fakeintervalcheck.cpp<br />
autotests/server/fakeintervalcheck.h<br />
src/server/akonadi.h<br />
src/server/cachecleaner.h<br />
src/server/handler/collectionmodifyhandler.cpp<br />
src/server/handler/itemfetchhelper.cpp<br />
src/server/intervalcheck.h<br />
src/server/storage/notificationcollector.cpp</div></div></div><br /><div><strong>To: </strong>dfaure, dvratil<br /><strong>Cc: </strong>kde-pim<br /></div>