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:
willemferguson 2019-12-08 12:03:10 +02:00 committed by Dirk Hohndel
parent 2ac279d129
commit f63f3eb4ae
3 changed files with 151 additions and 0 deletions

19
tests/testqPrefMedia.h Normal file
View 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