aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/common/tst_qml_common.h
blob: 98e462ded690dae4cd247421d69ab03df3f94982 (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
28
29
30
31
32
33
34
35
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

#ifndef TST_QML_COMMON_H
#define TST_QML_COMMON_H

#include <QtCore/qstring.h>
#include <QtCore/qlibraryinfo.h>
#include <QtTest/qtest.h>
#include <QtQml/private/qqmlsignalnames_p.h>

class tst_qml_common : public QObject
{
    Q_OBJECT

private slots:
    void tst_propertyNameToChangedSignalName_data();
    void tst_propertyNameToChangedSignalName();
    void tst_propertyNameToChangedHandlerName();
    void tst_propertyNameToChangedHandlerName_data();
    void tst_signalNameToHandlerName();
    void tst_signalNameToHandlerName_data();

    void tst_changedSignalNameToPropertyName();
    void tst_changedSignalNameToPropertyName_data();
    void tst_changedHandlerNameToPropertyName();
    void tst_changedHandlerNameToPropertyName_data();
    void tst_handlerNameToSignalName();
    void tst_handlerNameToSignalName_data();

    void tst_isChangedHandlerName();
    void tst_isChangedHandlerName_data();
};

#endif // TST_QML_COMMON_H