blob: 9bab15e57a5a18abd4c41c5827d79740c6afedec (
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
27
|
// Copyright (C) 2016 Paul Lemire <paul.lemire350@gmail.com>
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#include <QtTest/QTest>
#include <QObject>
#include <qmlscenereader.h>
class tst_import3dinput : public QObject
{
Q_OBJECT
private Q_SLOTS:
void checkQMLImports()
{
// GIVEN
QmlSceneReader sceneReader(QUrl("qrc:/3dinput.qml"));
// THEN
QVERIFY(sceneReader.root() != nullptr);
}
};
QTEST_MAIN(tst_import3dinput)
#include "tst_import3dinput.moc"
|