diff ui/tests/cinstprocesstest.h @ 294:d95fd88f6616

Prepare cinstprocesstest to be executed on Windows
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 02 Apr 2014 15:41:31 +0000
parents 0df62decff90
children 9c5e6b142611
line wrap: on
line diff
--- a/ui/tests/cinstprocesstest.h	Wed Apr 02 15:40:39 2014 +0000
+++ b/ui/tests/cinstprocesstest.h	Wed Apr 02 15:41:31 2014 +0000
@@ -6,7 +6,9 @@
  */
 
 #include <QObject>
+#include <QStringList>
 #include <QProcess>
+#include <QTemporaryFile>
 #include <QTest>
 #include "certificatelist.h"
 
@@ -15,7 +17,10 @@
     Q_OBJECT
 
 private:
-    QProcess* startCinstProcess();
+    QProcess* startCinstProcess(const QStringList& args = QStringList());
+    QTemporaryFile validListFile;
+    QTemporaryFile otherListFile;
+    QTemporaryFile invalidListFile;
     CertificateList validList;
     CertificateList otherList;
     CertificateList invalidList;

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