andre@636: /* Copyright (C) 2014 by Bundesamt für Sicherheit in der Informationstechnik andre@636: * Software engineering by Intevation GmbH andre@636: * andre@636: * This file is Free Software under the GNU GPL (v>=2) andre@636: * and comes with ABSOLUTELY NO WARRANTY! andre@636: * See LICENSE.txt for details. andre@636: */ andre@636: #ifndef COMMONTEST_H andre@636: #define COMMONTEST_H andre@636: andre@636: #include andre@636: andre@636: class BinVerifyTest: public QObject andre@636: { andre@636: Q_OBJECT andre@636: andre@636: private Q_SLOTS: andre@636: void testNoSignature(); andre@636: void testMiscErrors(); andre@636: void testValidBinary(); andre@637: void testOtherKey(); andre@774: #ifdef Q_OS_WIN andre@637: void testOtherCert(); andre@774: #endif andre@637: void testInvalidSig(); andre@869: void testSignatureCreation(); andre@636: }; andre@636: #endif andre@636: