comparison ui/tests/windowsstoretest.h @ 220:e6c5c70a67b0

Add test for windowsstores
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 26 Mar 2014 20:21:55 +0100
parents
children 53ea9b975d1c
comparison
equal deleted inserted replaced
219:57bef180d560 220:e6c5c70a67b0
1 #ifndef WINDOWSSTORETEST_H
2 #define WINDOWSSTORETEST_H
3 #include <QObject>
4 #include <QTemporaryFile>
5
6 #include <windows.h>
7 #include <wincrypt.h>
8
9 #include "certificatelist.h"
10
11 class WindowsStoreTest: public QObject
12 {
13 Q_OBJECT
14
15 private:
16 CertificateList validList;
17 HCERTSTORE testStore;
18 QTemporaryFile tmpFile;
19
20 private Q_SLOTS:
21 void initTestCase();
22 void cleanupTestCase();
23 void testInstRemove();
24 };
25
26 #endif // WINDOWSSTORETEST_H

http://wald.intevation.org/projects/trustbridge/