File indexing completed on 2024-05-26 05:05:54
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 "emoticonlistviewtest.h" 0008 #include "misc/emoticonlistview.h" 0009 #include <QTest> 0010 QTEST_MAIN(EmoticonListViewTest) 0011 0012 EmoticonListViewTest::EmoticonListViewTest(QObject *parent) 0013 : QObject(parent) 0014 { 0015 } 0016 0017 void EmoticonListViewTest::shouldHaveDefaultValues() 0018 { 0019 EmoticonListView w; 0020 QCOMPARE(w.viewMode(), QListView::IconMode); 0021 QCOMPARE(w.horizontalScrollBarPolicy(), Qt::ScrollBarAlwaysOff); 0022 } 0023 0024 #include "moc_emoticonlistviewtest.cpp"