Warning, file /libraries/ktextaddons/textgrammarcheck/languagetool/autotests/languagetoolcomboboxtest.cpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* 0002 SPDX-FileCopyrightText: 2019-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #include "languagetoolcomboboxtest.h" 0008 #include "languagetool/languagetoolcombobox.h" 0009 #include <QTest> 0010 QTEST_MAIN(LanguageToolComboBoxTest) 0011 LanguageToolComboBoxTest::LanguageToolComboBoxTest(QObject *parent) 0012 : QObject(parent) 0013 { 0014 } 0015 0016 void LanguageToolComboBoxTest::shouldHaveDefaultValue() 0017 { 0018 TextGrammarCheck::LanguageToolComboBox w; 0019 QCOMPARE(w.count(), 30); 0020 } 0021 0022 #include "moc_languagetoolcomboboxtest.cpp"