QtNovelUI/CoreTest/configtest.h

25 lines
411 B
C++

#ifndef CONFIGTEST_H
#define CONFIGTEST_H
#include <QObject>
#include <libConfig.h>
#include <QtTest/QTest>
class ConfigTest : public QObject
{
Q_OBJECT
public:
ConfigTest(Config::Configration *test_ins);
private:
Config::Configration *xml;
private slots:
void testReload();
void testException();
void testConfig();
void testList();
void testMap();
};
#endif // CONFIGTEST_H