From e3da13d1fe9ad623e05aec1977c813e7da37cedd Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 7 Jul 2016 11:46:45 +0200 Subject: Fail quickly if the backend is not available --- tests/mailtest.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/mailtest.cpp') 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; void MailTest::initTestCase() { Test::initTest(); + QVERIFY(isBackendAvailable()); Log::setDebugOutputLevel(Sink::Log::Trace); resetTestEnvironment(); auto resource = createResource(); -- cgit v1.2.3