subsurface/tests/testqPrefUpdateManager.h
jan Iversen 62672276d0 core: correct error in qPrefUpdateManager
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>
2018-08-23 05:19:16 -07:00

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