diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-07-07 11:46:45 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-07-07 11:46:45 +0200 |
commit | e3da13d1fe9ad623e05aec1977c813e7da37cedd (patch) | |
tree | 79266f2fba9e50c6e6d9d38d3baeff2d6a8e1e0e /tests/mailtest.cpp | |
parent | ab7c366b27a07cc31730dc7fb696cdc2519bb8d3 (diff) | |
download | sink-e3da13d1fe9ad623e05aec1977c813e7da37cedd.tar.gz sink-e3da13d1fe9ad623e05aec1977c813e7da37cedd.zip |
Fail quickly if the backend is not available
Diffstat (limited to 'tests/mailtest.cpp')
-rw-r--r-- | tests/mailtest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/mailtest.cpp b/tests/mailtest.cpp index b9d496d..8031cf1 100644 --- a/tests/mailtest.cpp +++ b/tests/mailtest.cpp | |||
@@ -34,6 +34,7 @@ using namespace Sink::ApplicationDomain; | |||
34 | void MailTest::initTestCase() | 34 | void MailTest::initTestCase() |
35 | { | 35 | { |
36 | Test::initTest(); | 36 | Test::initTest(); |
37 | QVERIFY(isBackendAvailable()); | ||
37 | Log::setDebugOutputLevel(Sink::Log::Trace); | 38 | Log::setDebugOutputLevel(Sink::Log::Trace); |
38 | resetTestEnvironment(); | 39 | resetTestEnvironment(); |
39 | auto resource = createResource(); | 40 | auto resource = createResource(); |