forked from qt-creator/qt-creator
QmlProfiler: Tests for QmlProfilerTraceClient
We run a number of test traces through the trace client and make sure that it doesn't crash and that the events reappear in the right order. Change-Id: I45bbeeb978f2ab147551aaafa74631f927c710e8 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -49,6 +49,7 @@
|
||||
#include "tests/qmlprofilerclientmanager_test.h"
|
||||
#include "tests/qmlprofilerconfigwidget_test.h"
|
||||
#include "tests/qmlprofilerdetailsrewriter_test.h"
|
||||
#include "tests/qmlprofilertraceclient_test.h"
|
||||
#include "tests/qmlprofilertraceview_test.h"
|
||||
|
||||
// Force QML Debugging to be enabled, so that we can selftest the profiler
|
||||
@@ -147,6 +148,7 @@ QList<QObject *> QmlProfiler::Internal::QmlProfilerPlugin::createTestObjects() c
|
||||
tests << new QmlProfilerClientManagerTest;
|
||||
tests << new QmlProfilerConfigWidgetTest;
|
||||
tests << new QmlProfilerDetailsRewriterTest;
|
||||
tests << new QmlProfilerTraceClientTest;
|
||||
tests << new QmlProfilerTraceViewTest;
|
||||
|
||||
tests << new QQmlEngine; // Trigger debug connector to be started
|
||||
|
||||
Reference in New Issue
Block a user