view ui/tests/nsstest.h @ 395:a63601810211

Resized administrator main window and columns.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 15 Apr 2014 16:44:55 +0200
parents 2fd69803d219
children 17e1c8f37d72
line wrap: on
line source
#ifndef NSSTEST_H
#define NSSTEST_H

#include <QTemporaryFile>
#include <QTemporaryDir>
#include <QObject>
#include <QList>
#include <QByteArray>

#include "certificatelist.h"

class NSSTest: public QObject
{
    Q_OBJECT

    QTemporaryDir fakeHome;
    QDir fakeFirefoxDir;
    QDir fakeThunderbirdDir;
    QTemporaryDir ffNSSDir;
    QTemporaryDir tbNSSDir;
    CertificateList validList;
    QTemporaryFile validListFile;
private:
    QList<QByteArray> get_nss_certs(QTemporaryDir *nssDir);
    void setupTestDir(QTemporaryDir *nssDir);

private Q_SLOTS:
    void initTestCase();
    void testInstRemove();
};

#endif // NSSTEST_H

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