File indexing completed on 2024-12-01 04:35:22

0001 /*
0002    SPDX-FileCopyrightText: 2021-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #include "awaymanagertest.h"
0008 #include "away/awaymanager.h"
0009 #include <QTest>
0010 QTEST_MAIN(AwayManagerTest)
0011 AwayManagerTest::AwayManagerTest(QObject *parent)
0012     : QObject{parent}
0013 {
0014 }
0015 
0016 void AwayManagerTest::shouldHaveDefaultValues()
0017 {
0018     AwayManager m(nullptr);
0019     QVERIFY(!m.enabled());
0020     QCOMPARE(m.idleTiming(), -1);
0021     // TODO
0022 }
0023 
0024 #include "moc_awaymanagertest.cpp"