Mercurial > trustbridge
view ui/tests/downloadertest.h @ 54:09cd242d8443
Split out Header parsing into it's own function
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Mon, 17 Mar 2014 14:48:05 +0000 |
parents | d73a2f0170d4 |
children | 64200b011dfd |
line wrap: on
line source
#ifndef DOWNLOADERTEST_H #define DOWNLOADERTEST_H #include <QObject> #include <QtTest/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; public Q_SLOTS: void downloaderError(const QString &message, SSLConnection::ErrorCode error); private Q_SLOTS: void initTestCase(); void cleanupTestCase(); void testNewList(); void testNoConnection(); void testOtherCertificate(); }; #endif