Mercurial > trustbridge
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ui/tests/windowsstoretest.h Wed Mar 26 20:21:55 2014 +0100 @@ -0,0 +1,26 @@ +#ifndef WINDOWSSTORETEST_H +#define WINDOWSSTORETEST_H +#include <QObject> +#include <QTemporaryFile> + +#include <windows.h> +#include <wincrypt.h> + +#include "certificatelist.h" + +class WindowsStoreTest: public QObject +{ + Q_OBJECT + +private: + CertificateList validList; + HCERTSTORE testStore; + QTemporaryFile tmpFile; + +private Q_SLOTS: + void initTestCase(); + void cleanupTestCase(); + void testInstRemove(); +}; + +#endif // WINDOWSSTORETEST_H