Mercurial > trustbridge
view ui/tests/downloadertest.h @ 119:24ca8e2ceecf
First step of simple mozilla ini parser
extracts profile path configuration lines and prints them to stdout
for debugging..
author | Sascha Wilde <wilde@intevation.de> |
---|---|
date | Sat, 22 Mar 2014 17:46:12 +0100 |
parents | 64200b011dfd |
children | f5fa39347366 |
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(); void testNewSoftware(); }; #endif