File indexing completed on 2024-05-12 16:15:57
0001 /* 0002 SPDX-FileCopyrightText: 2022-2023 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #include "texttospeechutiltest.h" 0008 #include "texttospeechutil.h" 0009 #include <QTest> 0010 QTEST_GUILESS_MAIN(TextToSpeechUtilTest) 0011 TextToSpeechUtilTest::TextToSpeechUtilTest(QObject *parent) 0012 : QObject{parent} 0013 { 0014 } 0015 0016 void TextToSpeechUtilTest::shouldHaveDefaultValues() 0017 { 0018 QCOMPARE(TextEditTextToSpeech::TextToSpeechUtil::textToSpeechConfigFileName(), QStringLiteral("texttospeechrc")); 0019 QCOMPARE(TextEditTextToSpeech::TextToSpeechUtil::textToSpeechConfigGroupName(), QStringLiteral("Settings")); 0020 } 0021 0022 #include "moc_texttospeechutiltest.cpp"