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>
This commit is contained in:
jan Iversen 2018-08-15 17:19:29 +02:00 committed by Dirk Hohndel
parent fa62ffdbf0
commit 62672276d0
5 changed files with 31 additions and 15 deletions

View file

@ -15,6 +15,7 @@ private slots:
void test_struct_disk();
void test_multiple();
void test_oldPreferences();
void test_next_check();
};
#endif // TESTQPREFUPDATEMANAGER_H