cf12defd28
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
25 lines
550 B
C++
25 lines
550 B
C++
/*
|
|
SPDX-FileCopyrightText: 2022 Alexander Lohnau <alexander.lohnau@gmx.de>
|
|
SPDX-License-Identifier: LGPL-2.0-or-later
|
|
*/
|
|
|
|
#include <KQuickIconProvider>
|
|
#include <QObject>
|
|
#include <QQmlApplicationEngine>
|
|
#include <QTest>
|
|
|
|
class KQuickIconProviderTest : public QObject
|
|
{
|
|
Q_OBJECT
|
|
private Q_SLOTS:
|
|
void testRegisteringEngine()
|
|
{
|
|
QQmlApplicationEngine engine;
|
|
engine.addImageProvider(QStringLiteral("icon"), new KQuickIconProvider);
|
|
}
|
|
};
|
|
|
|
QTEST_MAIN(KQuickIconProviderTest)
|
|
|
|
#include "kquickiconprovidertest.moc"
|