diff ui/tests/nsstest.h @ 304:eecc06f714fd

Add first nsstest.
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 03 Apr 2014 14:29:49 +0200
parents
children 2fd69803d219
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ui/tests/nsstest.h	Thu Apr 03 14:29:49 2014 +0200
@@ -0,0 +1,26 @@
+#ifndef NSSTEST_H
+#define NSSTEST_H
+
+#include <QTemporaryFile>
+#include <QTemporaryDir>
+#include <QObject>
+
+#include "certificatelist.h"
+
+class NSSTest: public QObject
+{
+    Q_OBJECT
+
+    QTemporaryDir fakeHome;
+    QDir fakeFirefoxDir;
+    QDir fakeThunderbirdDir;
+    QTemporaryDir nssDir;
+    CertificateList validList;
+    QTemporaryFile validListFile;
+
+private Q_SLOTS:
+    void initTestCase();
+    void testInstRemove();
+};
+
+#endif // NSSTEST_H

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