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

0001 /*
0002    SPDX-FileCopyrightText: 2023-2024 Laurent Montel <montel.org>
0003 
0004    SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #include "updatevideoconferencemessagejobtest.h"
0008 #include "videoconference/updatevideoconferencemessagejob.h"
0009 #include <QTest>
0010 
0011 QTEST_MAIN(UpdateVideoConferenceMessageJobTest)
0012 
0013 UpdateVideoConferenceMessageJobTest::UpdateVideoConferenceMessageJobTest(QObject *parent)
0014     : QObject{parent}
0015 {
0016 }
0017 
0018 void UpdateVideoConferenceMessageJobTest::shouldHaveDefaultValues()
0019 {
0020     UpdateVideoConferenceMessageJob job;
0021     QVERIFY(!job.rocketChatAccount());
0022     QVERIFY(!job.canStart());
0023     QVERIFY(!job.videoConferenceInfo().isValid());
0024 }
0025 
0026 #include "moc_updatevideoconferencemessagejobtest.cpp"