File indexing completed on 2024-11-10 04:50:01
0001 /* 0002 SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-only 0005 */ 0006 0007 #include "invalidfilterinfowidgettest.h" 0008 #include "../invalidfilters/invalidfilterinfowidget.h" 0009 #include <QTest> 0010 0011 InvalidFilterInfoWidgetTest::InvalidFilterInfoWidgetTest(QObject *parent) 0012 : QObject(parent) 0013 { 0014 } 0015 0016 InvalidFilterInfoWidgetTest::~InvalidFilterInfoWidgetTest() = default; 0017 0018 void InvalidFilterInfoWidgetTest::shouldHaveDefaultValue() 0019 { 0020 MailCommon::InvalidFilterInfoWidget w; 0021 QVERIFY(!w.isVisible()); 0022 QVERIFY(!w.isCloseButtonVisible()); 0023 } 0024 0025 QTEST_MAIN(InvalidFilterInfoWidgetTest) 0026 0027 #include "moc_invalidfilterinfowidgettest.cpp"