Mercurial > trustbridge
view ui/tests/cinstprocesstest.h @ 147:fc9af77b06b9
Completed profile.ini parser.
Debug main() allows to give an mozilla ini file as argument, and
outputs extracted profile paths.
author | Sascha Wilde <wilde@intevation.de> |
---|---|
date | Mon, 24 Mar 2014 17:24:37 +0100 |
parents | f5fa39347366 |
children | 0df62decff90 |
line wrap: on
line source
#ifndef CINSTPROCESSTEST_H #define CINSTPROCESSTEST_H /* @file Tests for the cinst process * @brief Tests for the cinst process as well as the UI side */ #include <QObject> #include <QProcess> #include <QTest> #include "certificatelist.h" class CinstProcessTest: public QObject { Q_OBJECT private: QProcess* startCinstProcess(); CertificateList validList; CertificateList otherList; CertificateList invalidList; private Q_SLOTS: void initTestCase(); void testValidInput(); void testInvalidInstruction(); void testNoInput(); void testNoList(); void testGarbageInput(); void testNoInstructions(); }; #endif