mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
1ef3f61cc9
remove test macro, split in functions and add test cases the existing test macro does not work because sync() does not save these variables to disk (set* does) Signed-off-by: Jan Iversen <jani@apache.org>
19 lines
361 B
C++
19 lines
361 B
C++
// SPDX-License-Identifier: GPL-2.0
|
|
#ifndef TESTQPREFDISPLAY_H
|
|
#define TESTQPREFDISPLAY_H
|
|
|
|
#include <QtTest>
|
|
|
|
class TestQPrefDisplay : 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 // TESTQPREFDISPLAY_H
|