comparison 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
comparison
equal deleted inserted replaced
293:3ae8b3ab3eab 294:d95fd88f6616
4 /* @file Tests for the cinst process 4 /* @file Tests for the cinst process
5 * @brief Tests for the cinst process as well as the UI side 5 * @brief Tests for the cinst process as well as the UI side
6 */ 6 */
7 7
8 #include <QObject> 8 #include <QObject>
9 #include <QStringList>
9 #include <QProcess> 10 #include <QProcess>
11 #include <QTemporaryFile>
10 #include <QTest> 12 #include <QTest>
11 #include "certificatelist.h" 13 #include "certificatelist.h"
12 14
13 class CinstProcessTest: public QObject 15 class CinstProcessTest: public QObject
14 { 16 {
15 Q_OBJECT 17 Q_OBJECT
16 18
17 private: 19 private:
18 QProcess* startCinstProcess(); 20 QProcess* startCinstProcess(const QStringList& args = QStringList());
21 QTemporaryFile validListFile;
22 QTemporaryFile otherListFile;
23 QTemporaryFile invalidListFile;
19 CertificateList validList; 24 CertificateList validList;
20 CertificateList otherList; 25 CertificateList otherList;
21 CertificateList invalidList; 26 CertificateList invalidList;
22 27
23 private Q_SLOTS: 28 private Q_SLOTS:

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