summaryrefslogtreecommitdiffstats
path: root/tests/dummyresourcebenchmark.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-08-13 22:42:41 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-08-13 22:42:41 +0200
commit4fb293ac5c684c9bb7bf0e8d1e9d5b0f3f4296ab (patch)
treedcbbac88e97a61432c6fc1b27124426e307cd2c2 /tests/dummyresourcebenchmark.cpp
parent5807b5dc09e5532532753ba2bb48f014d20ad5a0 (diff)
downloadsink-4fb293ac5c684c9bb7bf0e8d1e9d5b0f3f4296ab.tar.gz
sink-4fb293ac5c684c9bb7bf0e8d1e9d5b0f3f4296ab.zip
Set debuglevel in dummyresourcebenchmark
Diffstat (limited to 'tests/dummyresourcebenchmark.cpp')
-rw-r--r--tests/dummyresourcebenchmark.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/dummyresourcebenchmark.cpp b/tests/dummyresourcebenchmark.cpp
index 15b3e29..5e674b3 100644
--- a/tests/dummyresourcebenchmark.cpp
+++ b/tests/dummyresourcebenchmark.cpp
@@ -9,6 +9,7 @@
9#include "entitybuffer.h" 9#include "entitybuffer.h"
10#include "synclistresult.h" 10#include "synclistresult.h"
11#include "pipeline.h" 11#include "pipeline.h"
12#include "log.h"
12 13
13#include "event_generated.h" 14#include "event_generated.h"
14#include "entity_generated.h" 15#include "entity_generated.h"
@@ -29,6 +30,7 @@ class DummyResourceBenchmark : public QObject
29private Q_SLOTS: 30private Q_SLOTS:
30 void initTestCase() 31 void initTestCase()
31 { 32 {
33 Akonadi2::Log::setDebugOutputLevel(Akonadi2::Log::Warning);
32 auto factory = Akonadi2::ResourceFactory::load("org.kde.dummy"); 34 auto factory = Akonadi2::ResourceFactory::load("org.kde.dummy");
33 QVERIFY(factory); 35 QVERIFY(factory);
34 removeFromDisk("org.kde.dummy.instance1"); 36 removeFromDisk("org.kde.dummy.instance1");