mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
62672276d0
make next_check (in qPrefUpdateManager) long instead of string Correct test cases (compare time_t not strings) Add test case to check time_t works as expected Signed-off-by: Jan Iversen <jani@apache.org>
21 lines
441 B
C++
21 lines
441 B
C++
// SPDX-License-Identifier: GPL-2.0
|
|
#ifndef TESTQPREFUPDATEMANAGER_H
|
|
#define TESTQPREFUPDATEMANAGER_H
|
|
|
|
#include <QObject>
|
|
|
|
class TestQPrefUpdateManager : 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_oldPreferences();
|
|
void test_next_check();
|
|
};
|
|
|
|
#endif // TESTQPREFUPDATEMANAGER_H
|