21 lines
446 B
C++
21 lines
446 B
C++
|
|
#include <QtTest/QtTest>
|
||
|
|
#include "../../src/syncscheduler.h"
|
||
|
|
|
||
|
|
class TestSyncScheduler : public QObject
|
||
|
|
{
|
||
|
|
Q_OBJECT
|
||
|
|
private slots:
|
||
|
|
void testShouldRunSync();
|
||
|
|
};
|
||
|
|
|
||
|
|
void TestSyncScheduler::testShouldRunSync()
|
||
|
|
{
|
||
|
|
SyncScheduler scheduler;
|
||
|
|
// This test would need to mock QSettings and QDateTime
|
||
|
|
// For now, we just verify the object can be created
|
||
|
|
QVERIFY(true);
|
||
|
|
}
|
||
|
|
|
||
|
|
QTEST_MAIN(TestSyncScheduler)
|
||
|
|
#include "test_syncscheduler.moc"
|