diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-07-07 09:15:46 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-07-07 09:15:46 +0200 |
commit | 8bc01b8494033919b0c9ed1aa35a94660ea7f46d (patch) | |
tree | 973ea2547ec1c91173f65eed664736ea958d9645 /tests/modelinteractivitytest.cpp | |
parent | 5cba3372881994b5afa96449237aab80cc424e6d (diff) | |
download | sink-8bc01b8494033919b0c9ed1aa35a94660ea7f46d.tar.gz sink-8bc01b8494033919b0c9ed1aa35a94660ea7f46d.zip |
Avoid an endless stream of errormessages in modelinteractivity test
Diffstat (limited to 'tests/modelinteractivitytest.cpp')
-rw-r--r-- | tests/modelinteractivitytest.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/modelinteractivitytest.cpp b/tests/modelinteractivitytest.cpp index d0a0920..c55a1db 100644 --- a/tests/modelinteractivitytest.cpp +++ b/tests/modelinteractivitytest.cpp | |||
@@ -10,6 +10,7 @@ | |||
10 | #include "resourceconfig.h" | 10 | #include "resourceconfig.h" |
11 | #include "log.h" | 11 | #include "log.h" |
12 | #include "modelresult.h" | 12 | #include "modelresult.h" |
13 | #include "test.h" | ||
13 | 14 | ||
14 | static int blockingTime; | 15 | static int blockingTime; |
15 | 16 | ||
@@ -49,6 +50,7 @@ class ModelinteractivityTest : public QObject | |||
49 | private slots: | 50 | private slots: |
50 | void initTestCase() | 51 | void initTestCase() |
51 | { | 52 | { |
53 | Sink::Test::initTest(); | ||
52 | Sink::Log::setDebugOutputLevel(Sink::Log::Warning); | 54 | Sink::Log::setDebugOutputLevel(Sink::Log::Warning); |
53 | ResourceConfig::addResource("org.kde.dummy.instance1", "org.kde.dummy"); | 55 | ResourceConfig::addResource("org.kde.dummy.instance1", "org.kde.dummy"); |
54 | Sink::Store::removeDataFromDisk(QByteArray("org.kde.dummy.instance1")).exec().waitForFinished(); | 56 | Sink::Store::removeDataFromDisk(QByteArray("org.kde.dummy.instance1")).exec().waitForFinished(); |