summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/clientapitest.cpp2
-rw-r--r--tests/databasepopulationandfacadequerybenchmark.cpp2
-rw-r--r--tests/domainadaptortest.cpp2
-rw-r--r--tests/dummyresourcebenchmark.cpp2
-rw-r--r--tests/dummyresourcetest.cpp2
-rw-r--r--tests/dummyresourcewritebenchmark.cpp2
-rw-r--r--tests/genericfacadetest.cpp2
-rw-r--r--tests/genericresourcebenchmark.cpp2
-rw-r--r--tests/genericresourcetest.cpp2
-rw-r--r--tests/indextest.cpp2
-rw-r--r--tests/inspectiontest.cpp2
-rw-r--r--tests/maildirresourcetest.cpp2
-rw-r--r--tests/maildirsyncbenchmark.cpp2
-rw-r--r--tests/mailquerybenchmark.cpp2
-rw-r--r--tests/messagequeuetest.cpp2
-rw-r--r--tests/modelinteractivitytest.cpp2
-rw-r--r--tests/pipelinebenchmark.cpp2
-rw-r--r--tests/pipelinetest.cpp2
-rw-r--r--tests/querytest.cpp2
-rw-r--r--tests/resourcecommunicationtest.cpp2
-rw-r--r--tests/storagebenchmark.cpp2
-rw-r--r--tests/storagetest.cpp2
-rw-r--r--tests/testimplementations.h2
23 files changed, 23 insertions, 23 deletions
diff --git a/tests/clientapitest.cpp b/tests/clientapitest.cpp
index 0e21ca6..879ffc4 100644
--- a/tests/clientapitest.cpp
+++ b/tests/clientapitest.cpp
@@ -79,7 +79,7 @@ public:
79class ClientAPITest : public QObject 79class ClientAPITest : public QObject
80{ 80{
81 Q_OBJECT 81 Q_OBJECT
82private Q_SLOTS: 82private slots:
83 83
84 void initTestCase() 84 void initTestCase()
85 { 85 {
diff --git a/tests/databasepopulationandfacadequerybenchmark.cpp b/tests/databasepopulationandfacadequerybenchmark.cpp
index ad3682e..16537c0 100644
--- a/tests/databasepopulationandfacadequerybenchmark.cpp
+++ b/tests/databasepopulationandfacadequerybenchmark.cpp
@@ -156,7 +156,7 @@ class DatabasePopulationAndFacadeQueryBenchmark : public QObject
156 // std::system("top -p \"$PPID\" -b -n 1"); 156 // std::system("top -p \"$PPID\" -b -n 1");
157 } 157 }
158 158
159private Q_SLOTS: 159private slots:
160 160
161 void init() 161 void init()
162 { 162 {
diff --git a/tests/domainadaptortest.cpp b/tests/domainadaptortest.cpp
index f523173..5939a31 100644
--- a/tests/domainadaptortest.cpp
+++ b/tests/domainadaptortest.cpp
@@ -28,7 +28,7 @@ public:
28class DomainAdaptorTest : public QObject 28class DomainAdaptorTest : public QObject
29{ 29{
30 Q_OBJECT 30 Q_OBJECT
31private Q_SLOTS: 31private slots:
32 void initTestCase() 32 void initTestCase()
33 { 33 {
34 } 34 }
diff --git a/tests/dummyresourcebenchmark.cpp b/tests/dummyresourcebenchmark.cpp
index 9afc775..77b87fb 100644
--- a/tests/dummyresourcebenchmark.cpp
+++ b/tests/dummyresourcebenchmark.cpp
@@ -30,7 +30,7 @@ class DummyResourceBenchmark : public QObject
30 Q_OBJECT 30 Q_OBJECT
31private: 31private:
32 int num; 32 int num;
33private Q_SLOTS: 33private slots:
34 void initTestCase() 34 void initTestCase()
35 { 35 {
36 Sink::Log::setDebugOutputLevel(Sink::Log::Warning); 36 Sink::Log::setDebugOutputLevel(Sink::Log::Warning);
diff --git a/tests/dummyresourcetest.cpp b/tests/dummyresourcetest.cpp
index 7d9ad24..8b5a8fa 100644
--- a/tests/dummyresourcetest.cpp
+++ b/tests/dummyresourcetest.cpp
@@ -23,7 +23,7 @@ class DummyResourceTest : public QObject
23 23
24 QTime time; 24 QTime time;
25 25
26private Q_SLOTS: 26private slots:
27 void initTestCase() 27 void initTestCase()
28 { 28 {
29 Sink::Log::setDebugOutputLevel(Sink::Log::Trace); 29 Sink::Log::setDebugOutputLevel(Sink::Log::Trace);
diff --git a/tests/dummyresourcewritebenchmark.cpp b/tests/dummyresourcewritebenchmark.cpp
index 6c05a1e..539d189 100644
--- a/tests/dummyresourcewritebenchmark.cpp
+++ b/tests/dummyresourcewritebenchmark.cpp
@@ -172,7 +172,7 @@ class DummyResourceWriteBenchmark : public QObject
172 } 172 }
173 173
174 174
175private Q_SLOTS: 175private slots:
176 void initTestCase() 176 void initTestCase()
177 { 177 {
178 Sink::Log::setDebugOutputLevel(Sink::Log::Warning); 178 Sink::Log::setDebugOutputLevel(Sink::Log::Warning);
diff --git a/tests/genericfacadetest.cpp b/tests/genericfacadetest.cpp
index 63e93f8..397bf6a 100644
--- a/tests/genericfacadetest.cpp
+++ b/tests/genericfacadetest.cpp
@@ -22,7 +22,7 @@
22class GenericFacadeTest : public QObject 22class GenericFacadeTest : public QObject
23{ 23{
24 Q_OBJECT 24 Q_OBJECT
25private Q_SLOTS: 25private slots:
26 26
27 void init() 27 void init()
28 { 28 {
diff --git a/tests/genericresourcebenchmark.cpp b/tests/genericresourcebenchmark.cpp
index 7f0d3a2..b3af6a6 100644
--- a/tests/genericresourcebenchmark.cpp
+++ b/tests/genericresourcebenchmark.cpp
@@ -85,7 +85,7 @@ public:
85class GenericResourceBenchmark : public QObject 85class GenericResourceBenchmark : public QObject
86{ 86{
87 Q_OBJECT 87 Q_OBJECT
88private Q_SLOTS: 88private slots:
89 89
90 void init() 90 void init()
91 { 91 {
diff --git a/tests/genericresourcetest.cpp b/tests/genericresourcetest.cpp
index 76c604e..a04c634 100644
--- a/tests/genericresourcetest.cpp
+++ b/tests/genericresourcetest.cpp
@@ -22,7 +22,7 @@
22class GenericResourceTest : public QObject 22class GenericResourceTest : public QObject
23{ 23{
24 Q_OBJECT 24 Q_OBJECT
25private Q_SLOTS: 25private slots:
26 26
27 void init() 27 void init()
28 { 28 {
diff --git a/tests/indextest.cpp b/tests/indextest.cpp
index a435e97..ce1fde7 100644
--- a/tests/indextest.cpp
+++ b/tests/indextest.cpp
@@ -13,7 +13,7 @@
13class IndexTest : public QObject 13class IndexTest : public QObject
14{ 14{
15 Q_OBJECT 15 Q_OBJECT
16private Q_SLOTS: 16private slots:
17 void initTestCase() 17 void initTestCase()
18 { 18 {
19 Sink::Storage store("./testindex", "org.kde.dummy.testindex", Sink::Storage::ReadWrite); 19 Sink::Storage store("./testindex", "org.kde.dummy.testindex", Sink::Storage::ReadWrite);
diff --git a/tests/inspectiontest.cpp b/tests/inspectiontest.cpp
index 79e5863..cdf62e6 100644
--- a/tests/inspectiontest.cpp
+++ b/tests/inspectiontest.cpp
@@ -16,7 +16,7 @@
16class InspectionTest : public QObject 16class InspectionTest : public QObject
17{ 17{
18 Q_OBJECT 18 Q_OBJECT
19private Q_SLOTS: 19private slots:
20 void initTestCase() 20 void initTestCase()
21 { 21 {
22 Sink::Log::setDebugOutputLevel(Sink::Log::Trace); 22 Sink::Log::setDebugOutputLevel(Sink::Log::Trace);
diff --git a/tests/maildirresourcetest.cpp b/tests/maildirresourcetest.cpp
index eefe1e9..d5f7f95 100644
--- a/tests/maildirresourcetest.cpp
+++ b/tests/maildirresourcetest.cpp
@@ -53,7 +53,7 @@ class MaildirResourceTest : public QObject
53 53
54 QTemporaryDir tempDir; 54 QTemporaryDir tempDir;
55 QString targetPath; 55 QString targetPath;
56private Q_SLOTS: 56private slots:
57 void initTestCase() 57 void initTestCase()
58 { 58 {
59 targetPath = tempDir.path() + "/maildir1/"; 59 targetPath = tempDir.path() + "/maildir1/";
diff --git a/tests/maildirsyncbenchmark.cpp b/tests/maildirsyncbenchmark.cpp
index 4f23524..7904a82 100644
--- a/tests/maildirsyncbenchmark.cpp
+++ b/tests/maildirsyncbenchmark.cpp
@@ -59,7 +59,7 @@ class MaildirSyncBenchmark : public QObject
59 QString targetPath; 59 QString targetPath;
60 HAWD::State mHawdState; 60 HAWD::State mHawdState;
61 61
62private Q_SLOTS: 62private slots:
63 void initTestCase() 63 void initTestCase()
64 { 64 {
65 targetPath = tempDir.path() + "/maildir1"; 65 targetPath = tempDir.path() + "/maildir1";
diff --git a/tests/mailquerybenchmark.cpp b/tests/mailquerybenchmark.cpp
index 4efd5cf..ea919ac 100644
--- a/tests/mailquerybenchmark.cpp
+++ b/tests/mailquerybenchmark.cpp
@@ -148,7 +148,7 @@ class MailQueryBenchmark : public QObject
148 // std::system("top -p \"$PPID\" -b -n 1"); 148 // std::system("top -p \"$PPID\" -b -n 1");
149 } 149 }
150 150
151private Q_SLOTS: 151private slots:
152 152
153 void init() 153 void init()
154 { 154 {
diff --git a/tests/messagequeuetest.cpp b/tests/messagequeuetest.cpp
index 454ace2..06a4ae6 100644
--- a/tests/messagequeuetest.cpp
+++ b/tests/messagequeuetest.cpp
@@ -14,7 +14,7 @@
14class MessageQueueTest : public QObject 14class MessageQueueTest : public QObject
15{ 15{
16 Q_OBJECT 16 Q_OBJECT
17private Q_SLOTS: 17private slots:
18 void initTestCase() 18 void initTestCase()
19 { 19 {
20 Sink::Log::setDebugOutputLevel(Sink::Log::Trace); 20 Sink::Log::setDebugOutputLevel(Sink::Log::Trace);
diff --git a/tests/modelinteractivitytest.cpp b/tests/modelinteractivitytest.cpp
index 3f6e697..ad23e0f 100644
--- a/tests/modelinteractivitytest.cpp
+++ b/tests/modelinteractivitytest.cpp
@@ -43,7 +43,7 @@ public:
43class ModelinteractivityTest : public QObject 43class ModelinteractivityTest : public QObject
44{ 44{
45 Q_OBJECT 45 Q_OBJECT
46private Q_SLOTS: 46private slots:
47 void initTestCase() 47 void initTestCase()
48 { 48 {
49 Sink::Log::setDebugOutputLevel(Sink::Log::Warning); 49 Sink::Log::setDebugOutputLevel(Sink::Log::Warning);
diff --git a/tests/pipelinebenchmark.cpp b/tests/pipelinebenchmark.cpp
index c0c5cb1..5743830 100644
--- a/tests/pipelinebenchmark.cpp
+++ b/tests/pipelinebenchmark.cpp
@@ -126,7 +126,7 @@ class PipelineBenchmark : public QObject
126 126
127 } 127 }
128 128
129private Q_SLOTS: 129private slots:
130 130
131 void init() 131 void init()
132 { 132 {
diff --git a/tests/pipelinetest.cpp b/tests/pipelinetest.cpp
index d6073dc..92b7554 100644
--- a/tests/pipelinetest.cpp
+++ b/tests/pipelinetest.cpp
@@ -179,7 +179,7 @@ public:
179class PipelineTest : public QObject 179class PipelineTest : public QObject
180{ 180{
181 Q_OBJECT 181 Q_OBJECT
182private Q_SLOTS: 182private slots:
183 void initTestCase() 183 void initTestCase()
184 { 184 {
185 Sink::Log::setDebugOutputLevel(Sink::Log::Trace); 185 Sink::Log::setDebugOutputLevel(Sink::Log::Trace);
diff --git a/tests/querytest.cpp b/tests/querytest.cpp
index f147c58..3bb0427 100644
--- a/tests/querytest.cpp
+++ b/tests/querytest.cpp
@@ -18,7 +18,7 @@
18class QueryTest : public QObject 18class QueryTest : public QObject
19{ 19{
20 Q_OBJECT 20 Q_OBJECT
21private Q_SLOTS: 21private slots:
22 void initTestCase() 22 void initTestCase()
23 { 23 {
24 Sink::Log::setDebugOutputLevel(Sink::Log::Trace); 24 Sink::Log::setDebugOutputLevel(Sink::Log::Trace);
diff --git a/tests/resourcecommunicationtest.cpp b/tests/resourcecommunicationtest.cpp
index f9ea3de..db8703e 100644
--- a/tests/resourcecommunicationtest.cpp
+++ b/tests/resourcecommunicationtest.cpp
@@ -11,7 +11,7 @@
11class ResourceCommunicationTest : public QObject 11class ResourceCommunicationTest : public QObject
12{ 12{
13 Q_OBJECT 13 Q_OBJECT
14private Q_SLOTS: 14private slots:
15 void testConnect() 15 void testConnect()
16 { 16 {
17 const QByteArray resourceIdentifier("test"); 17 const QByteArray resourceIdentifier("test");
diff --git a/tests/storagebenchmark.cpp b/tests/storagebenchmark.cpp
index 09cc336..8498df9 100644
--- a/tests/storagebenchmark.cpp
+++ b/tests/storagebenchmark.cpp
@@ -51,7 +51,7 @@ private:
51 QString filePath; 51 QString filePath;
52 const int count = 50000; 52 const int count = 50000;
53 53
54private Q_SLOTS: 54private slots:
55 void initTestCase() 55 void initTestCase()
56 { 56 {
57 Sink::Log::setDebugOutputLevel(Sink::Log::Warning); 57 Sink::Log::setDebugOutputLevel(Sink::Log::Warning);
diff --git a/tests/storagetest.cpp b/tests/storagetest.cpp
index b0db1ac..6341808 100644
--- a/tests/storagetest.cpp
+++ b/tests/storagetest.cpp
@@ -57,7 +57,7 @@ private:
57 return success && keyMatch; 57 return success && keyMatch;
58 } 58 }
59 59
60private Q_SLOTS: 60private slots:
61 void initTestCase() 61 void initTestCase()
62 { 62 {
63 testDataPath = "./testdb"; 63 testDataPath = "./testdb";
diff --git a/tests/testimplementations.h b/tests/testimplementations.h
index 234e99d..adfdab3 100644
--- a/tests/testimplementations.h
+++ b/tests/testimplementations.h
@@ -64,7 +64,7 @@ public:
64 KAsync::Job<void> sendCommand(int commandId, flatbuffers::FlatBufferBuilder &fbb) Q_DECL_OVERRIDE { return KAsync::null<void>(); } 64 KAsync::Job<void> sendCommand(int commandId, flatbuffers::FlatBufferBuilder &fbb) Q_DECL_OVERRIDE { return KAsync::null<void>(); }
65 KAsync::Job<void> synchronizeResource(bool remoteSync, bool localSync) Q_DECL_OVERRIDE { return KAsync::null<void>(); } 65 KAsync::Job<void> synchronizeResource(bool remoteSync, bool localSync) Q_DECL_OVERRIDE { return KAsync::null<void>(); }
66 66
67public Q_SLOTS: 67public slots:
68 void open() Q_DECL_OVERRIDE {} 68 void open() Q_DECL_OVERRIDE {}
69 void close() Q_DECL_OVERRIDE {} 69 void close() Q_DECL_OVERRIDE {}
70}; 70};