Verified Commit ca4601f2 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖
Browse files

Fix includes in tests

parent 762288c5
......@@ -21,13 +21,13 @@
#include "collectionpathresolver.h"
#include "testattribute.h"
#include <attributefactory.h>
#include <collection.h>
#include <itemcreatejob.h>
#include <itemfetchjob.h>
#include <itemfetchscope.h>
#include <resourceselectjob_p.h>
#include <qtest_akonadi.h>
#include "attributefactory.h"
#include "collection.h"
#include "itemcreatejob.h"
#include "itemfetchjob.h"
#include "itemfetchscope.h"
#include "resourceselectjob_p.h"
#include "qtest_akonadi.h"
using namespace Akonadi;
......
......@@ -18,19 +18,17 @@
*/
#include "testattribute.h"
#include "changerecorder.h"
#include "itemfetchscope.h"
#include "itemmodifyjob.h"
#include "itemdeletejob.h"
#include "agentmanager.h"
#include <changerecorder.h>
#include <itemfetchscope.h>
#include <itemmodifyjob.h>
#include <itemdeletejob.h>
#include <agentmanager.h>
#include "qtest_akonadi.h"
#include <QObject>
#include <QSettings>
#include <qtest_akonadi.h>
#include <qtestsupport_core.h>
using namespace Akonadi;
Q_DECLARE_METATYPE(QSet<QByteArray>)
......
......@@ -20,17 +20,17 @@
#include "collectionattributetest.h"
#include "collectionpathresolver.h"
#include <collection.h>
#include <attributefactory.h>
#include <collectioncreatejob.h>
#include <collectiondeletejob.h>
#include <collectionfetchjob.h>
#include <collectionmodifyjob.h>
#include <collectionrightsattribute_p.h>
#include <control.h>
#include <collectionidentificationattribute.h>
#include <qtest_akonadi.h>
#include "collection.h"
#include "attributefactory.h"
#include "collectioncreatejob.h"
#include "collectiondeletejob.h"
#include "collectionfetchjob.h"
#include "collectionmodifyjob.h"
#include "collectionrightsattribute_p.h"
#include "control.h"
#include "collectionidentificationattribute.h"
#include "qtest_akonadi.h"
using namespace Akonadi;
......
......@@ -17,19 +17,18 @@
02110-1301, USA.
*/
#include <agentinstance.h>
#include <agentmanager.h>
#include <control.h>
#include <collectioncopyjob.h>
#include <collectionfetchjob.h>
#include <item.h>
#include <itemfetchjob.h>
#include <itemfetchscope.h>
#include "agentinstance.h"
#include "agentmanager.h"
#include "control.h"
#include "collectioncopyjob.h"
#include "collectionfetchjob.h"
#include "item.h"
#include "itemfetchjob.h"
#include "itemfetchscope.h"
#include "test_utils.h"
#include <QObject>
#include "test_utils.h"
using namespace Akonadi;
class CollectionCopyTest : public QObject
......
......@@ -19,10 +19,9 @@
#include "collectionpathresolvertest.h"
#include "collectionpathresolver.h"
#include "control.h"
#include <control.h>
#include <qtest_akonadi.h>
#include "qtest_akonadi.h"
using namespace Akonadi;
......
......@@ -19,26 +19,24 @@
#include "test_utils.h"
#include <agentmanager.h>
#include <agentinstance.h>
#include <control.h>
#include <collection.h>
#include <collectionfetchjob.h>
#include <collectionfetchscope.h>
#include <collectiondeletejob.h>
#include <collectionmodifyjob.h>
#include <entitydisplayattribute.h>
#include "../src/core/collectionsync_p.h"
#include "agentmanager.h"
#include "agentinstance.h"
#include "control.h"
#include "collection.h"
#include "collectionfetchjob.h"
#include "collectionfetchscope.h"
#include "collectiondeletejob.h"
#include "collectionmodifyjob.h"
#include "entitydisplayattribute.h"
#include "collectionsync_p.h"
#include "qtest_akonadi.h"
#include "resourceselectjob_p.h"
#include <KRandom>
#include <QObject>
#include <QSignalSpy>
#include <qtest_akonadi.h>
#include <resourceselectjob_p.h>
using namespace Akonadi;
class CollectionSyncTest : public QObject
......
......@@ -23,12 +23,10 @@
#include "fakesession.h"
#include "fakemonitor.h"
#include "modelspy.h"
#include "imapparser_p.h"
#include "entitytreemodel.h"
#include <entitydisplayattribute.h>
#include <entitytreemodel_p.h>
#include "entitydisplayattribute.h"
#include "entitytreemodel_p.h"
static const char serverContent1[] =
// The format of these lines are first a type, either 'C' or 'I' for Item and collection.
......
......@@ -21,15 +21,15 @@
#include "test_utils.h"
#include <entitytreemodel.h>
#include <control.h>
#include <entitytreemodel_p.h>
#include <monitor_p.h>
#include <changerecorder_p.h>
#include <qtest_akonadi.h>
#include <collectioncreatejob.h>
#include <collectiondeletejob.h>
#include <itemcreatejob.h>
#include "entitytreemodel.h"
#include "control.h"
#include "entitytreemodel_p.h"
#include "monitor_p.h"
#include "changerecorder_p.h"
#include "qtest_akonadi.h"
#include "collectioncreatejob.h"
#include "collectiondeletejob.h"
#include "itemcreatejob.h"
using namespace Akonadi;
......
......@@ -17,22 +17,22 @@
02110-1301, USA.
*/
#include <QObject>
#include "test_utils.h"
#include "entitytreemodel.h"
#include "control.h"
#include "entitytreemodel_p.h"
#include "monitor_p.h"
#include "changerecorder_p.h"
#include "qtest_akonadi.h"
#include "collectioncreatejob.h"
#include "itemcreatejob.h"
#include "favoritecollectionsmodel.h"
#include <KConfigGroup>
#include <KSharedConfig>
#include <entitytreemodel.h>
#include <control.h>
#include <entitytreemodel_p.h>
#include <monitor_p.h>
#include <changerecorder_p.h>
#include <qtest_akonadi.h>
#include <collectioncreatejob.h>
#include <itemcreatejob.h>
#include <favoritecollectionsmodel.h>
#include <QObject>
#include <QSortFilterProxyModel>
using namespace Akonadi;
......
......@@ -21,18 +21,18 @@
#include "control.h"
#include "testattribute.h"
#include <agentmanager.h>
#include <agentinstance.h>
#include <collectionfetchjob.h>
#include <itemcreatejob.h>
#include <itemdeletejob.h>
#include <itemfetchjob.h>
#include <itemfetchscope.h>
#include <itemmodifyjob.h>
#include <qtest_akonadi.h>
#include "agentmanager.h"
#include "agentinstance.h"
#include "collectionfetchjob.h"
#include "itemcreatejob.h"
#include "itemdeletejob.h"
#include "itemfetchjob.h"
#include "itemfetchscope.h"
#include "itemmodifyjob.h"
#include "qtest_akonadi.h"
#include "test_utils.h"
#include <itemserializer_p.h>
#include <itemserializerplugin.h>
#include "itemserializer_p.h"
#include "itemserializerplugin.h"
using namespace Akonadi;
......
......@@ -34,9 +34,9 @@ private Q_SLOTS:
void testFetchScope();
};
#include <../src/core/gidextractorinterface.h>
#include <itemserializer_p.h>
#include <itemserializerplugin.h>
#include "gidextractorinterface.h"
#include "itemserializer_p.h"
#include "itemserializerplugin.h"
class TestSerializer : public QObject,
public Akonadi::ItemSerializerPlugin,
......
......@@ -19,10 +19,10 @@
#include "invalidatecachejob_p.h"
#include <collectionpathresolver.h>
#include <itemfetchjob.h>
#include <itemfetchscope.h>
#include <qtest_akonadi.h>
#include "collectionpathresolver.h"
#include "itemfetchjob.h"
#include "itemfetchscope.h"
#include "qtest_akonadi.h"
#include "test_utils.h"
#include "control.h"
......
......@@ -23,14 +23,14 @@
#include "testattribute.h"
#include "test_utils.h"
#include <agentinstance.h>
#include <agentmanager.h>
#include <attributefactory.h>
#include <collectionfetchjob.h>
#include <itemcreatejob.h>
#include <itemfetchjob.h>
#include <itemfetchscope.h>
#include <itemdeletejob.h>
#include "agentinstance.h"
#include "agentmanager.h"
#include "attributefactory.h"
#include "collectionfetchjob.h"
#include "itemcreatejob.h"
#include "itemfetchjob.h"
#include "itemfetchscope.h"
#include "itemdeletejob.h"
#include <QDebug>
......
......@@ -17,15 +17,14 @@
02110-1301, USA.
*/
#include <agentinstance.h>
#include <agentmanager.h>
#include <item.h>
#include <itemcreatejob.h>
#include <itemdeletejob.h>
#include <itemfetchjob.h>
#include <itemfetchscope.h>
#include <itemmodifyjob.h>
#include "agentinstance.h"
#include "agentmanager.h"
#include "item.h"
#include "itemcreatejob.h"
#include "itemdeletejob.h"
#include "itemfetchjob.h"
#include "itemfetchscope.h"
#include "itemmodifyjob.h"
#include "qtest_akonadi.h"
#include "test_utils.h"
......
......@@ -17,22 +17,22 @@
02110-1301, USA.
*/
#include <agentinstance.h>
#include <agentmanager.h>
#include <collection.h>
#include <collectionstatistics.h>
#include <control.h>
#include <itemcopyjob.h>
#include <itemfetchjob.h>
#include <itemfetchscope.h>
#include <itemcreatejob.h>
#include "agentinstance.h"
#include "agentmanager.h"
#include "collection.h"
#include "collectionstatistics.h"
#include "control.h"
#include "itemcopyjob.h"
#include "itemfetchjob.h"
#include "itemfetchscope.h"
#include "itemcreatejob.h"
#include "test_utils.h"
#include "qtest_akonadi.h"
#include <QObject>
#include <QTemporaryFile>
#include "test_utils.h"
#include <qtest_akonadi.h>
using namespace Akonadi;
class ItemCopyTest : public QObject
......
......@@ -17,17 +17,17 @@
02110-1301, USA.
*/
#include <qtest_akonadi.h>
#include <collection.h>
#include <collectionpathresolver.h>
#include <control.h>
#include <itemdeletejob.h>
#include <itemfetchjob.h>
#include <transactionjobs.h>
#include <tagcreatejob.h>
#include <itemmodifyjob.h>
#include <resourceselectjob_p.h>
#include <monitor.h>
#include "qtest_akonadi.h"
#include "collection.h"
#include "collectionpathresolver.h"
#include "control.h"
#include "itemdeletejob.h"
#include "itemfetchjob.h"
#include "transactionjobs.h"
#include "tagcreatejob.h"
#include "itemmodifyjob.h"
#include "resourceselectjob_p.h"
#include "monitor.h"
#include "test_utils.h"
#include <QObject>
......
......@@ -20,18 +20,17 @@
#include "itemfetchtest.h"
#include "collectionpathresolver.h"
#include "testattribute.h"
#include "attributefactory.h"
#include "itemcreatejob.h"
#include "itemdeletejob.h"
#include "itemfetchjob.h"
#include "itemfetchscope.h"
#include "resourceselectjob_p.h"
#include <attributefactory.h>
#include <itemcreatejob.h>
#include <itemdeletejob.h>
#include <itemfetchjob.h>
#include <itemfetchscope.h>
#include <resourceselectjob_p.h>
#include <qtest_akonadi.h>
using namespace Akonadi;
#include <qtest_akonadi.h>
QTEST_AKONADIMAIN(ItemFetchTest)
void ItemFetchTest::initTestCase()
......
......@@ -28,12 +28,11 @@
#include "collectionfetchscope.h"
#include "monitor.h"
#include "session.h"
#include "qtest_akonadi.h"
#include "resourceselectjob_p.h"
#include <QObject>
#include <qtest_akonadi.h>
#include <resourceselectjob_p.h>
using namespace Akonadi;
class ItemMoveTest: public QObject
......
......@@ -22,18 +22,18 @@
#include "control.h"
#include "testattribute.h"
#include <agentmanager.h>
#include <agentinstance.h>
#include <attributefactory.h>
#include <collectionfetchjob.h>
#include <itemcreatejob.h>
#include <itemdeletejob.h>
#include <itemfetchjob.h>
#include <itemfetchscope.h>
#include <itemmodifyjob.h>
#include <itemmodifyjob_p.h>
#include <resourceselectjob_p.h>
#include <qtest_akonadi.h>
#include "agentmanager.h"
#include "agentinstance.h"
#include "attributefactory.h"
#include "collectionfetchjob.h"
#include "itemcreatejob.h"
#include "itemdeletejob.h"
#include "itemfetchjob.h"
#include "itemfetchscope.h"
#include "itemmodifyjob.h"
#include "itemmodifyjob_p.h"
#include "resourceselectjob_p.h"
#include "qtest_akonadi.h"
#include "test_utils.h"
using namespace Akonadi;
......
......@@ -19,27 +19,26 @@
#include "test_utils.h"
#include <agentmanager.h>
#include <agentinstance.h>
#include <control.h>
#include <collection.h>
#include <item.h>
#include <itemdeletejob.h>
#include <itemfetchjob.h>
#include <itemfetchscope.h>
#include <itemsync.h>
#include <itemcreatejob.h>
#include <memory>
#include <qtestcase.h>
#include <resourceselectjob_p.h>
#include "agentmanager.h"
#include "agentinstance.h"
#include "control.h"
#include "collection.h"
#include "item.h"
#include "itemdeletejob.h"
#include "itemfetchjob.h"
#include "itemfetchscope.h"
#include "itemsync.h"
#include "itemcreatejob.h"
#include "qtest_akonadi.h"
#include "monitor.h"
#include "resourceselectjob_p.h"
#include <KRandom>
#include <QObject>
#include <QSignalSpy>
#include <qtest_akonadi.h>
#include <monitor.h>
#include <memory>
using namespace Akonadi;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment