diff options
Diffstat (limited to 'lang/qt/tests/t-ownertrust.cpp')
| -rw-r--r-- | lang/qt/tests/t-ownertrust.cpp | 15 | 
1 files changed, 3 insertions, 12 deletions
| diff --git a/lang/qt/tests/t-ownertrust.cpp b/lang/qt/tests/t-ownertrust.cpp index 8784a796..b9efffda 100644 --- a/lang/qt/tests/t-ownertrust.cpp +++ b/lang/qt/tests/t-ownertrust.cpp @@ -37,10 +37,12 @@  #include "keylistresult.h"  #include "changeownertrustjob.h" +#include "t-support.h" +  using namespace QGpgME;  using namespace GpgME; -class ChangeOwnerTrustTest: public QObject +class ChangeOwnerTrustTest: public QGpgMETest  {      Q_OBJECT @@ -98,17 +100,6 @@ private Q_SLOTS:          key = keys.front();          Q_ASSERT (key.ownerTrust() == Key::Unknown);      } - -    void initTestCase() -    { -        const QString gpgHome = qgetenv("GNUPGHOME"); -        QVERIFY2(!gpgHome.isEmpty(), "GNUPGHOME environment variable is not set."); -    } - -    void cleanupTestCase() -    { -        QCoreApplication::sendPostedEvents(); -    }  };  QTEST_MAIN(ChangeOwnerTrustTest) | 
