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

0001 /*
0002   SPDX-FileCopyrightText: 2023-2024 Laurent Montel <montel.org>
0003 
0004   SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #include "needupdateversionwidgettest.h"
0008 #include "needupdateversion/needupdateversionwidget.h"
0009 #include <QTest>
0010 QTEST_MAIN(NeedUpdateVersionWidgetTest)
0011 NeedUpdateVersionWidgetTest::NeedUpdateVersionWidgetTest(QObject *parent)
0012     : QObject{parent}
0013 {
0014 }
0015 
0016 NeedUpdateVersionWidgetTest::~NeedUpdateVersionWidgetTest() = default;
0017 
0018 void NeedUpdateVersionWidgetTest::shouldHaveDefaultValues()
0019 {
0020     NeedUpdateVersionWidget w;
0021     QCOMPARE(w.position(), KMessageWidget::Header);
0022 }
0023 
0024 #include "moc_needupdateversionwidgettest.cpp"