Mercurial > trustbridge
view ui/tests/cinstprocesstest.h @ 217:83a015f2e078
Remove leftover incrementation of i from former loop style. Fixes a crash when adding only one
certificate.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Wed, 26 Mar 2014 20:14:22 +0100 |
parents | 0df62decff90 |
children | d95fd88f6616 |
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(); void testUninstall(); }; #endif