File indexing completed on 2024-11-24 04:16:56

0001 /*
0002   SPDX-FileCopyrightText: 2022-2024 Laurent Montel <montel@kde.org>
0003 
0004   SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 #include "libretranslateengineutiltest.h"
0007 #include "../libretranslateengineutil.h"
0008 #include <QTest>
0009 QTEST_MAIN(LibreTranslateEngineUtilTest)
0010 LibreTranslateEngineUtilTest::LibreTranslateEngineUtilTest(QObject *parent)
0011     : QObject{parent}
0012 {
0013 }
0014 
0015 void LibreTranslateEngineUtilTest::shouldHaveDefaultValues()
0016 {
0017     QCOMPARE(LibreTranslateEngineUtil::groupName(), QStringLiteral("LibreTranslateTranslator"));
0018     QCOMPARE(LibreTranslateEngineUtil::serverUrlKey(), QStringLiteral("ServerUrl"));
0019 }
0020 
0021 #include "moc_libretranslateengineutiltest.cpp"