diff ui/tests/cinstprocesstest.h @ 306:9c5e6b142611

Set the home directory to a temporary location to avoid writing into real nss stores
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 03 Apr 2014 15:30:25 +0200
parents d95fd88f6616
children 17e1c8f37d72
line wrap: on
line diff
--- a/ui/tests/cinstprocesstest.h	Thu Apr 03 15:29:58 2014 +0200
+++ b/ui/tests/cinstprocesstest.h	Thu Apr 03 15:30:25 2014 +0200
@@ -9,6 +9,7 @@
 #include <QStringList>
 #include <QProcess>
 #include <QTemporaryFile>
+#include <QTemporaryDir>
 #include <QTest>
 #include "certificatelist.h"
 
@@ -21,6 +22,7 @@
     QTemporaryFile validListFile;
     QTemporaryFile otherListFile;
     QTemporaryFile invalidListFile;
+    QTemporaryDir fakeHome;
     CertificateList validList;
     CertificateList otherList;
     CertificateList invalidList;

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