Mercurial > trustbridge
view ui/tests/downloadertest.h @ 604:3d45f5bca0aa
(Testplan) Updated README for new intests version with language support.
author | Emanuel Schuetze <emanuel@intevation.de> |
---|---|
date | Wed, 18 Jun 2014 09:17:25 +0200 |
parents | 17e1c8f37d72 |
children | 2949f1842955 |
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(); }; #endif