File indexing completed on 2024-12-15 04:54:35

0001 /*
0002   SPDX-FileCopyrightText: 2016-2024 Laurent Montel <montel@kde.org>
0003 
0004   SPDX-License-Identifier: LGPL-2.0-or-later
0005 
0006 */
0007 
0008 #include "searchcollectionindexingwarningtest.h"
0009 #include "../src/core/widgets/searchcollectionindexingwarning.h"
0010 #include <QTest>
0011 
0012 SearchCollectionIndexingWarningTest::SearchCollectionIndexingWarningTest(QObject *parent)
0013     : QObject(parent)
0014 {
0015 }
0016 
0017 SearchCollectionIndexingWarningTest::~SearchCollectionIndexingWarningTest() = default;
0018 
0019 void SearchCollectionIndexingWarningTest::shouldHaveDefaultValue()
0020 {
0021     MessageList::Core::SearchCollectionIndexingWarning w;
0022     QVERIFY(!w.isVisible());
0023     QVERIFY(w.wordWrap());
0024 }
0025 
0026 QTEST_MAIN(SearchCollectionIndexingWarningTest)
0027 
0028 #include "moc_searchcollectionindexingwarningtest.cpp"