Mercurial > trustbridge
view ui/tests/downloadertest.h @ 991:6a3d284b9c16
Delegate certificate loading to base class. Minor cleanups.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Mon, 01 Sep 2014 12:07:19 +0200 |
parents | 2949f1842955 |
children | 8fb1b912fd8e |
line wrap: on
line source
/* Copyright (C) 2014 by Bundesamt für Sicherheit in der Informationstechnik * Software engineering by Intevation GmbH * * This file is Free Software under the GNU GPL (v>=2) * and comes with ABSOLUTELY NO WARRANTY! * See LICENSE.txt for details. */ #ifndef DOWNLOADERTEST_H #define DOWNLOADERTEST_H #include <QObject> #include <QtTest> #include <QProcess> #include <QTemporaryDir> #include <QSignalSpy> #include "downloader.h" class DownloaderTest: public QObject { Q_OBJECT void startServer(QString additionalOptions = QString()); private: QProcess serverProc; QTemporaryDir serverConfigDir; QFileInfo garbageInfo; public Q_SLOTS: void downloaderError(const QString &message, SSLConnection::ErrorCode error); private Q_SLOTS: void initTestCase(); void cleanupTestCase(); void testNewList(); void testNoConnection(); void testOtherCertificate(); void testNewSoftware(); void testForcedCiphers(); }; #endif