File indexing completed on 2025-02-23 05:24:03
0001 /* 0002 SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 0006 */ 0007 0008 #include "categorywarningtest.h" 0009 #include "categorywarning.h" 0010 #include <QTest> 0011 0012 CategoryWarningTest::CategoryWarningTest(QObject *parent) 0013 : QObject(parent) 0014 { 0015 } 0016 0017 CategoryWarningTest::~CategoryWarningTest() = default; 0018 0019 void CategoryWarningTest::shouldHaveDefaultValue() 0020 { 0021 CategoryWarning w; 0022 QVERIFY(!w.isVisible()); 0023 QVERIFY(w.wordWrap()); 0024 } 0025 0026 QTEST_MAIN(CategoryWarningTest) 0027 0028 #include "moc_categorywarningtest.cpp"