Mercurial > trustbridge
diff ui/tests/nsstest.h @ 307:2fd69803d219
Complete InstRemove NSS test
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Thu, 03 Apr 2014 16:35:21 +0200 |
parents | eecc06f714fd |
children | 17e1c8f37d72 |
line wrap: on
line diff
--- a/ui/tests/nsstest.h Thu Apr 03 15:30:25 2014 +0200 +++ b/ui/tests/nsstest.h Thu Apr 03 16:35:21 2014 +0200 @@ -4,6 +4,8 @@ #include <QTemporaryFile> #include <QTemporaryDir> #include <QObject> +#include <QList> +#include <QByteArray> #include "certificatelist.h" @@ -14,9 +16,13 @@ QTemporaryDir fakeHome; QDir fakeFirefoxDir; QDir fakeThunderbirdDir; - QTemporaryDir nssDir; + QTemporaryDir ffNSSDir; + QTemporaryDir tbNSSDir; CertificateList validList; QTemporaryFile validListFile; +private: + QList<QByteArray> get_nss_certs(QTemporaryDir *nssDir); + void setupTestDir(QTemporaryDir *nssDir); private Q_SLOTS: void initTestCase();