Mercurial > trustbridge
view ui/tests/cinstprocesstest.h @ 109:16f37460b2e1
Use m13_common library
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Fri, 21 Mar 2014 16:07:35 +0000 |
parents | 8fa273791242 |
children | f5fa39347366 |
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 "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