tests: add qPrefGeocoding testcases

add test cases to secure struct preferences and qPrefGeocoding work together

Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
jan Iversen 2018-08-10 17:57:48 +02:00 committed by Dirk Hohndel
parent af22015452
commit 859f08a358
3 changed files with 125 additions and 0 deletions

View file

@ -0,0 +1,19 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef TESTQPREFGEOCODING_H
#define TESTQPREFGEOCODING_H
#include <QObject>
class TestQPrefGeocoding : public QObject {
Q_OBJECT
private slots:
void initTestCase();
void test_struct_get();
void test_set_struct();
void test_set_load_struct();
void test_struct_disk();
void test_multiple();
};
#endif // TESTQPREFGEOCODING_H