subsurface/tests/testqPrefUnits.h
jan Iversen ccfd14211a tests: move Units test from testpreferences
Remove Units test in testpreferences
add the same Units tests to testqPrefUnits

Signed-off-by: Jan Iversen <jani@apache.org>
2018-08-02 08:59:56 -07:00

21 lines
410 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();
void test_oldPreferences();
};
#endif // TESTQPREFUNITS_H