blob: bb9498793d57814e3bd7a28b31dc975c4bd3e2c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// Copyright (C) 2025 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#include "mylib/mylib.h"
#include <QtTest/qtest.h>
class test_plugin_deployment : public QObject
{
Q_OBJECT
private slots:
void loadsTheRightPlugins();
};
void test_plugin_deployment::loadsTheRightPlugins()
{
const auto formats = getSupportedImageFormats();
if (!formats.contains("gif")) {
qDebug() << "supported imageformats: " << formats;
QFAIL("Cannot load the qgif plugin. Plugin deployment failed.");
}
}
QTEST_MAIN(test_plugin_deployment)
#include "main.moc"
|