aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler/tests/qmlprofilertraceclient_test.h
blob: f1e33aedf78e268b73d69db72ad081d963f38435 (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
// Copyright (C) 2017 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0

#pragma once

#include <qmlprofiler/qmlprofilermodelmanager.h>
#include <qmlprofiler/qmlprofilertraceclient.h>

#include <QObject>

namespace QmlProfiler {
namespace Internal {

class QmlProfilerTraceClientTest : public QObject
{
    Q_OBJECT
public:
    QmlProfilerTraceClient traceClient;
    explicit QmlProfilerTraceClientTest(QObject *parent = nullptr);

private slots:
    void testMessageReceived();

private:
    QmlProfilerModelManager modelManager;
};

} // namespace Internal
} // namespace QmlProfiler