ssu
urlresolvertest.h
Go to the documentation of this file.
1 
8 #ifndef _URLRESOLVERTEST_H
9 #define _URLRESOLVERTEST_H
10 
11 #include <QObject>
12 #include <QtTest/QtTest>
13 #include <QHash>
14 
15 #include "libssu/ssu.h"
16 
17 class UrlResolverTest: public QObject
18 {
19  Q_OBJECT
20 
21 private slots:
22  void initTestCase();
23  void cleanupTestCase();
24  void checkFlavour();
25  void checkRelease();
26  void checkDomain();
27  void checkCleanUrl();
28  void simpleRepoUrlLookup();
29  void checkReleaseRepoUrls();
30  void checkRegisterDevice();
31  void checkSetCredentials();
32  void checkStoreAuthorizedKeys();
33  void checkVerifyResponse();
34 
35 private:
36  Ssu ssu;
37  QHash<QString, QString> rndRepos, releaseRepos;
38 };
39 
40 #endif
Ssu
Definition: ssu.h:36
ssu.h
UrlResolverTest
Definition: urlresolvertest.h:17