/*
  SPDX-FileCopyrightText: 2022-2026 Laurent Montel <montel@kde.org>

  SPDX-License-Identifier: GPL-2.0-or-later
*/

#include "deeplengineclienttest.h"

#include "../deeplengineclient.h"
#include <QTest>
QTEST_MAIN(DeeplEngineClientTest)

using namespace Qt::Literals::StringLiterals;
DeeplEngineClientTest::DeeplEngineClientTest(QObject *parent)
    : QObject{parent}
{
}

void DeeplEngineClientTest::shouldHaveDefaultValues()
{
    DeeplEngineClient client;
    QCOMPARE(client.name(), u"deepl"_s);
    QVERIFY(client.createTranslator());
    QVERIFY(!client.translatedName().isEmpty());
    QVERIFY(!client.supportedFromLanguages().isEmpty());
    QVERIFY(!client.supportedToLanguages().isEmpty());
    QVERIFY(client.hasConfigurationDialog());
}

#include "moc_deeplengineclienttest.cpp"
