summaryrefslogtreecommitdiff
path: root/tests/auto/qml/qml.cpp
blob: 24c0bbe84b086e07e4152873a36eae128eecf108 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (C) 2016 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Milian Wolff <milian.wolff@kdab.com>
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#include <QtQuickTest/quicktest.h>
#include <QtQml/qqml.h>

#ifndef QUICK_TEST_SOURCE_DIR
#define QUICK_TEST_SOURCE_DIR nullptr
#endif

#include "testtransport.h"
#include "testwebchannel.h"
#include "testobject.h"

int main(int argc, char **argv)
{
    qmlRegisterType<TestTransport>("QtWebChannel.Tests", 1, 0, "TestTransport");
    qmlRegisterType<TestWebChannel>("QtWebChannel.Tests", 1, 0, "TestWebChannel");
    qmlRegisterType<TestObject>("QtWebChannel.Tests", 1, 0, "TestObject");

    return quick_test_main(argc, argv, "qml", QUICK_TEST_SOURCE_DIR);
}