tests: add qPrefDivePlanner testcases

add test cases to secure struct preferences and qPrefDivePlanner work together

Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
jan Iversen 2018-08-02 18:17:14 +02:00 committed by Robert C. Helling
parent 21243ec4f7
commit 9c26a491a7
3 changed files with 350 additions and 0 deletions

View file

@ -0,0 +1,19 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef TESTQPREFDIVEPLANNER_H
#define TESTQPREFDIVEPLANNER_H
#include <QObject>
class TestQPrefDivePlanner : 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 // TESTQPREFDIVEPLANNER_H