variablestest.h 551 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
/**
 * @file variablestest.h
 * @copyright 2013 Jolla Ltd.
 * @author Bernd Wachter <bwachter@lart.info>
 * @date 2013
 */

#ifndef _VARIABLESTEST_H
#define _VARIABLESTEST_H

#include <QObject>
#include <QtTest/QtTest>
#include <QHash>

15
#include "libssu/ssu.h"
16
#include "libssu/ssuvariables_p.h"
17

18 19
class VariablesTest: public QObject
{
20 21
    Q_OBJECT

22
private slots:
23 24 25 26 27
    void initTestCase();
    void cleanupTestCase();
    void checkResolveString();


28
private:
29 30 31 32 33 34
    Ssu ssu;
    SsuVariables var;
    QHash <QString, QString> variables, urls;
};

#endif