From 863c04f3f7cde734068c20dcab6f4edee810473c Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Sun, 5 Aug 2018 14:13:37 +0200 Subject: tests: add qPrefTechincalDetails testcases add test cases to secure struct preferences and qPrefTechnicalDetails work together Signed-off-by: Jan Iversen --- tests/testqPrefTechnicalDetails.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/testqPrefTechnicalDetails.h (limited to 'tests/testqPrefTechnicalDetails.h') diff --git a/tests/testqPrefTechnicalDetails.h b/tests/testqPrefTechnicalDetails.h new file mode 100644 index 000000000..8e935a621 --- /dev/null +++ b/tests/testqPrefTechnicalDetails.h @@ -0,0 +1,19 @@ +// SPDX-License-Identifier: GPL-2.0 +#ifndef TESTQPREFTECHNICALDETAILS_H +#define TESTQPREFTECHNICALDETAILS_H + +#include + +class TestQPrefTechnicalDetails : 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 // TESTQPREFTECHNICALDETAILS_H -- cgit v1.2.3-70-g09d2