Akonadi: fixed backend instantiation
When building modules, the registation code must be part of the module. Integration testing should always be offered by the backend. The ifdef is only for the test driver.
This commit is contained in:
parent
2f16f6c15e
commit
980f1f4ec6
|
@ -335,8 +335,6 @@ SYNCEVOLUTION_TEST_SUITE_REGISTRATION(AkonadiTest);
|
|||
|
||||
#endif // ENABLE_UNIT_TESTS
|
||||
|
||||
#ifdef ENABLE_INTEGRATION_TESTS
|
||||
|
||||
namespace {
|
||||
#if 0
|
||||
}
|
||||
|
@ -383,7 +381,6 @@ public:
|
|||
} memoTest;
|
||||
|
||||
}
|
||||
#endif // ENABLE_INTEGRATION_TESTS
|
||||
|
||||
#endif // ENABLE_AKONADI
|
||||
|
||||
|
|
|
@ -289,3 +289,7 @@ TrackingSyncSource::InsertItemResult AkonadiMemoSource::insertItem(const std::st
|
|||
|
||||
SE_END_CXX
|
||||
#endif // ENABLE_AKONADI
|
||||
|
||||
#ifdef ENABLE_MODULES
|
||||
# include "AkonadiSyncSourceRegister.cpp"
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue