add test cases to secure struct preferences and qPrefUnits work together Signed-off-by: Jan Iversen <jani@apache.org>
21 lines
381 B
C++
21 lines
381 B
C++
// SPDX-License-Identifier: GPL-2.0
|
|
#ifndef TESTQPREFUNITS_H
|
|
#define TESTQPREFUNITS_H
|
|
|
|
#include <QObject>
|
|
|
|
class TestQPrefUnits : 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();
|
|
void test_unit_system();
|
|
};
|
|
|
|
#endif // TESTQPREFUNITS_H
|