view ui/tests/cinstprocesstest.h @ 222:53ea9b975d1c

Cleanup windowsstore.c The cause for the test failure was that ADD_ALWAYS did not add a duplicate in the Root store but did add a duplicate in the Memory Store. We now check if the certificate is already in the store before actually installing it.
author Andre Heinecke <aheinecke@intevation.de>
date Thu, 27 Mar 2014 14:16:22 +0000
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


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