/* SPDX-FileCopyrightText: 2014-2026 Laurent Montel SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once #include class GrantleeThemeTest : public QObject { Q_OBJECT public: explicit GrantleeThemeTest(QObject *parent = nullptr); ~GrantleeThemeTest() override; private Q_SLOTS: void shouldHaveDefaultValue(); void shouldInvalidWhenPathIsNotValid(); void shouldLoadTheme_data(); void shouldLoadTheme(); void testRenderTemplate_data(); void testRenderTemplate(); void initTestCase(); private: bool validateHtml(const QString &path, const QString &name, const QString &html); bool compareHtml(const QString &generatedTheme, const QString &path, const QString &name); };