aheinecke@404: /* Copyright (C) 2014 by Bundesamt für Sicherheit in der Informationstechnik
aheinecke@404:  * Software engineering by Intevation GmbH
aheinecke@404:  *
aheinecke@404:  * This file is Free Software under the GNU GPL (v>=2)
aheinecke@404:  * and comes with ABSOLUTELY NO WARRANTY!
aheinecke@404:  * See LICENSE.txt for details.
aheinecke@404:  */
andre@220: #ifndef WINDOWSSTORETEST_H
andre@220: #define WINDOWSSTORETEST_H
andre@220: #include <QObject>
andre@220: #include <QTemporaryFile>
andre@220: 
andre@220: #include <windows.h>
andre@220: #include <wincrypt.h>
andre@220: 
andre@220: #include "certificatelist.h"
andre@220: 
andre@220: class WindowsStoreTest: public QObject
andre@220: {
andre@220:     Q_OBJECT
andre@220: 
andre@220: private:
andre@220:     CertificateList validList;
andre@220:     HCERTSTORE testStore;
andre@220:     QTemporaryFile tmpFile;
andre@220: 
aheinecke@222:     void dumpContents();
aheinecke@222: 
andre@220: private Q_SLOTS:
andre@220:     void initTestCase();
andre@220:     void cleanupTestCase();
andre@220:     void testInstRemove();
andre@220: };
andre@220: 
andre@220: #endif // WINDOWSSTORETEST_H