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/mailsynctest.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/mailsynctest.h') diff --git a/tests/mailsynctest.h b/tests/mailsynctest.h index a21335b..31d3f03 100644 --- a/tests/mailsynctest.h +++ b/tests/mailsynctest.h @@ -41,6 +41,7 @@ protected: QByteArray mResourceInstanceIdentifier; QByteArrayList mCapabilities; + virtual bool isBackendAvailable() { return true; } virtual void resetTestEnvironment() = 0; virtual Sink::ApplicationDomain::SinkResource createResource() = 0; virtual Sink::ApplicationDomain::SinkResource createFaultyResource() = 0; -- cgit v1.2.3