D20512: FakeCollectionScheduler => FakeIntervalCheck, so FakeAkonadiServer can return it

David Faure noreply at phabricator.kde.org
Sat Apr 13 17:26:28 BST 2019


dfaure created this revision.
dfaure added a reviewer: dvratil.
dfaure requested review of this revision.

REVISION SUMMARY
  This way AkonadiServer::instance()->intervalChecker() is never null
  anymore, which simplifies some code at little bit, and will allow
  testing how NotificationCollector interacts with IntervalCheck.
  
  BTW CacheCleaner needs the if(), it's optional (null if configured away by user)

TEST PLAN
  full "ctest"

BRANCH
  2019_04_collectionscheduler_interval

REVISION DETAIL
  https://phabricator.kde.org/D20512

AFFECTED FILES
  autotests/server/CMakeLists.txt
  autotests/server/collectionschedulertest.cpp
  autotests/server/fakeakonadiserver.cpp
  autotests/server/fakecollectionscheduler.cpp
  autotests/server/fakecollectionscheduler.h
  autotests/server/fakeintervalcheck.cpp
  autotests/server/fakeintervalcheck.h
  src/server/akonadi.h
  src/server/cachecleaner.h
  src/server/handler/collectionmodifyhandler.cpp
  src/server/handler/itemfetchhelper.cpp
  src/server/intervalcheck.h
  src/server/storage/notificationcollector.cpp

To: dfaure, dvratil
Cc: kde-pim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20190413/28bb39ec/attachment.html>


More information about the kde-pim mailing list