diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-05-23 19:51:57 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-05-23 19:51:57 +0200 |
commit | fd1df5b224fab4e4244446ae10d96392b7aa9935 (patch) | |
tree | a9a5afb24ba28e07993a891f24a963c2b874880d | |
parent | c9f26c4cbca654417d304c9214aa3a7709631159 (diff) | |
download | sink-fd1df5b224fab4e4244446ae10d96392b7aa9935.tar.gz sink-fd1df5b224fab4e4244446ae10d96392b7aa9935.zip |
Run maildir tests isolated.
-rw-r--r-- | tests/maildirresourcetest.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/maildirresourcetest.cpp b/tests/maildirresourcetest.cpp index 968abde..17d297d 100644 --- a/tests/maildirresourcetest.cpp +++ b/tests/maildirresourcetest.cpp | |||
@@ -71,9 +71,7 @@ private slots: | |||
71 | { | 71 | { |
72 | targetPath = tempDir.path() + "/maildir1/"; | 72 | targetPath = tempDir.path() + "/maildir1/"; |
73 | 73 | ||
74 | //FIXME initTest only works for the current process, | 74 | Sink::Test::initTest(); |
75 | //we also have to start resources in test-mode | ||
76 | // Sink::Test::initTest(); | ||
77 | Sink::Log::setDebugOutputLevel(Sink::Log::Trace); | 75 | Sink::Log::setDebugOutputLevel(Sink::Log::Trace); |
78 | MaildirResource::removeFromDisk("org.kde.maildir.instance1"); | 76 | MaildirResource::removeFromDisk("org.kde.maildir.instance1"); |
79 | Sink::ApplicationDomain::SinkResource resource; | 77 | Sink::ApplicationDomain::SinkResource resource; |