QtNovelUI/CoreTest/configtest.h

25 lines
411 B
C
Raw Normal View History

2023-02-25 09:16:29 +00:00
#ifndef CONFIGTEST_H
#define CONFIGTEST_H
#include <QObject>
2023-02-25 09:23:10 +00:00
#include <libConfig.h>
2023-02-25 09:16:29 +00:00
#include <QtTest/QTest>
class ConfigTest : public QObject
{
Q_OBJECT
public:
2023-02-25 09:23:10 +00:00
ConfigTest(Config::Configration *test_ins);
private:
Config::Configration *xml;
2023-02-25 09:16:29 +00:00
private slots:
void testReload();
void testException();
void testConfig();
void testList();
void testMap();
};
#endif // CONFIGTEST_H