/
urlresolvertest.h
40 lines (33 loc) · 774 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/**
* @file urlresolvertest.h
* @copyright 2012 Jolla Ltd.
* @author Bernd Wachter <bwachter@lart.info>
* @date 2012
*/
#ifndef _URLRESOLVERTEST_H
#define _URLRESOLVERTEST_H
#include <QObject>
#include <QtTest/QtTest>
#include <QHash>
15
#include "libssu/ssu.h"
16
17
18
class UrlResolverTest: public QObject
{
19
20
Q_OBJECT
21
private slots:
22
23
24
25
void initTestCase();
void cleanupTestCase();
void checkFlavour();
void checkRelease();
26
void checkDomain();
27
28
29
void checkCleanUrl();
void simpleRepoUrlLookup();
void checkReleaseRepoUrls();
30
void checkRegisterDevice();
31
void checkSetCredentials();
32
void checkStoreAuthorizedKeys();
33
void checkVerifyResponse();
34
35
private:
36
37
38
39
40
Ssu ssu;
QHash<QString, QString> rndRepos, releaseRepos;
};
#endif