mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
0363e590f3
remove include of QtTest in header, becaue it is not needed, add include of QObject in header, so moc can generate code. add QTest in cpp file, which replaces QtTest Change content of strings to test divelist_font to a not normal font name, to ensure less confusion by readers. Remark the old surrounding code accept illegal font names, but correcting this is not covered in this commit. Signed-off-by: Jan Iversen <jani@apache.org>
19 lines
362 B
C++
19 lines
362 B
C++
// SPDX-License-Identifier: GPL-2.0
|
|
#ifndef TESTQPREFDISPLAY_H
|
|
#define TESTQPREFDISPLAY_H
|
|
|
|
#include <QObject>
|
|
|
|
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
|