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

0001 /*
0002    SPDX-FileCopyrightText: 2022-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #include "textselectionimpltest.h"
0008 #include "delegateutils/textselectionimpl.h"
0009 #include <QTest>
0010 
0011 QTEST_MAIN(TextSelectionImplTest)
0012 
0013 TextSelectionImplTest::TextSelectionImplTest(QObject *parent)
0014     : QObject{parent}
0015 {
0016 }
0017 
0018 void TextSelectionImplTest::shouldHaveDefaultValues()
0019 {
0020     TextSelectionImpl impl;
0021     QVERIFY(impl.textSelection());
0022     QVERIFY(!impl.mightStartDrag());
0023 }
0024 
0025 #include "moc_textselectionimpltest.cpp"