Changeset View
Changeset View
Standalone View
Standalone View
tests/units/migrator/zanshin021migrationtest.cpp
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Line(s) | |||||
48 | { | 48 | { | ||
49 | Q_OBJECT | 49 | Q_OBJECT | ||
50 | public: | 50 | public: | ||
51 | explicit Zanshin021MigrationTest(QObject *parent = nullptr) | 51 | explicit Zanshin021MigrationTest(QObject *parent = nullptr) | ||
52 | : QObject(parent) | 52 | : QObject(parent) | ||
53 | { | 53 | { | ||
54 | qRegisterMetaType<Akonadi::Collection>(); | 54 | qRegisterMetaType<Akonadi::Collection>(); | ||
55 | qRegisterMetaType<Akonadi::Item>(); | 55 | qRegisterMetaType<Akonadi::Item>(); | ||
56 | qRegisterMetaType<Akonadi::Tag>(); | | |||
57 | } | 56 | } | ||
58 | 57 | | |||
59 | private slots: | 58 | private slots: | ||
60 | void initTestCase() | 59 | void initTestCase() | ||
61 | { | 60 | { | ||
62 | QVERIFY(TestLib::TestSafety::checkTestIsIsolated()); | 61 | QVERIFY(TestLib::TestSafety::checkTestIsIsolated()); | ||
63 | auto storage = Akonadi::StorageInterface::Ptr(new Akonadi::Storage); | 62 | auto storage = Akonadi::StorageInterface::Ptr(new Akonadi::Storage); | ||
64 | TestLib::AkonadiDebug::dumpTree(storage); | 63 | TestLib::AkonadiDebug::dumpTree(storage); | ||
▲ Show 20 Lines • Show All 120 Lines • Show Last 20 Lines |