QtNovelUI/CoreTest/configtest.h

29 lines
492 B
C++

#ifndef CONFIGTEST_H
#define CONFIGTEST_H
#include <QObject>
#include <libConfig.h>
#include <QtTest/QTest>
namespace TestCase {
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