Skip to content

Latest commit

 

History

History
40 lines (33 loc) · 774 Bytes

urlresolvertest.h

File metadata and controls

40 lines (33 loc) · 774 Bytes
 
Oct 8, 2012
Oct 8, 2012
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>
Apr 4, 2013
Apr 4, 2013
15
#include "libssu/ssu.h"
Oct 8, 2012
Oct 8, 2012
16
Oct 10, 2016
Oct 10, 2016
17
18
class UrlResolverTest: public QObject
{
Oct 8, 2012
Oct 8, 2012
19
20
Q_OBJECT
Oct 10, 2016
Oct 10, 2016
21
private slots:
Oct 8, 2012
Oct 8, 2012
22
23
24
25
void initTestCase();
void cleanupTestCase();
void checkFlavour();
void checkRelease();
Jan 15, 2013
Jan 15, 2013
26
void checkDomain();
Oct 8, 2012
Oct 8, 2012
27
28
29
void checkCleanUrl();
void simpleRepoUrlLookup();
void checkReleaseRepoUrls();
Apr 10, 2013
Apr 10, 2013
30
void checkRegisterDevice();
Apr 9, 2013
Apr 9, 2013
31
void checkSetCredentials();
Apr 10, 2013
Apr 10, 2013
32
void checkStoreAuthorizedKeys();
Apr 10, 2013
Apr 10, 2013
33
void checkVerifyResponse();
Oct 8, 2012
Oct 8, 2012
34
Oct 10, 2016
Oct 10, 2016
35
private:
Oct 8, 2012
Oct 8, 2012
36
37
38
39
40
Ssu ssu;
QHash<QString, QString> rndRepos, releaseRepos;
};
#endif