mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Preferences: Create a test program for qPrefMedia
This is a companion for the new Media tab in the Preferences UI Signed-off-by: willemferguson <willemferguson@zoology.up.ac.za> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
2ac279d129
commit
f63f3eb4ae
3 changed files with 151 additions and 0 deletions
19
tests/testqPrefMedia.h
Normal file
19
tests/testqPrefMedia.h
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifndef TESTQPREFMEDIA_H
|
||||
#define TESTQPREFMEDIA_H
|
||||
|
||||
#include <QObject>
|
||||
|
||||
class TestQPrefMedia : 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_signals();
|
||||
};
|
||||
|
||||
#endif // TESTQPREFMEDIA_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue