mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
d9b7aaef76
add test cases to secure struct preferences and qPrefUnits work together Signed-off-by: Jan Iversen <jani@apache.org>
20 lines
381 B
C++
20 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
|