Mercurial > trustbridge
view ui/tests/downloadertest.h @ 239:6b4ad6ccc48e
Change the specification of str_b64_decode so that it matches the
way how polarssl handles base64 decoding.
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Fri, 28 Mar 2014 14:20:08 +0000 |
parents | f5fa39347366 |
children | c05e126b0b9e |
line wrap: on
line source
#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; 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