File indexing completed on 2024-12-22 04:45:58

0001 /*
0002    SPDX-FileCopyrightText: 2021-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #include "searchwithdelaylineedittest.h"
0008 #include "misc/searchwithdelaylineedit.h"
0009 #include <QTest>
0010 QTEST_MAIN(SearchWithDelayLineEditTest)
0011 SearchWithDelayLineEditTest::SearchWithDelayLineEditTest(QObject *parent)
0012     : QObject(parent)
0013 {
0014 }
0015 
0016 void SearchWithDelayLineEditTest::shouldHaveDefaultValues()
0017 {
0018     SearchWithDelayLineEdit w;
0019     QVERIFY(w.isClearButtonEnabled());
0020     QVERIFY(!w.placeholderText().isEmpty());
0021 }
0022 
0023 #include "moc_searchwithdelaylineedittest.cpp"