From 3174c7156371f64efedcf19281ea0dc565f23bf8 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Mon, 6 Aug 2018 17:50:08 +0200 Subject: tests: add qPrefLocationService testcases add test cases to secure struct preferences and qPrefLocationService work together Signed-off-by: Jan Iversen --- tests/testqPrefLocationService.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/testqPrefLocationService.h (limited to 'tests/testqPrefLocationService.h') diff --git a/tests/testqPrefLocationService.h b/tests/testqPrefLocationService.h new file mode 100644 index 000000000..a3a134003 --- /dev/null +++ b/tests/testqPrefLocationService.h @@ -0,0 +1,19 @@ +// SPDX-License-Identifier: GPL-2.0 +#ifndef TESTQPREFLOCATIONSERVICE_H +#define TESTQPREFLOCATIONSERVICE_H + +#include + +class TestQPrefLocationService : 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 // TESTQPREFLOCATIONSERVICE_H -- cgit v1.2.3-70-g09d2