aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/debugger/qv8profilerservice/tst_qv8profilerservice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/debugger/qv8profilerservice/tst_qv8profilerservice.cpp')
-rw-r--r--tests/auto/declarative/debugger/qv8profilerservice/tst_qv8profilerservice.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative/debugger/qv8profilerservice/tst_qv8profilerservice.cpp b/tests/auto/declarative/debugger/qv8profilerservice/tst_qv8profilerservice.cpp
index 46c587da83..2ddff64049 100644
--- a/tests/auto/declarative/debugger/qv8profilerservice/tst_qv8profilerservice.cpp
+++ b/tests/auto/declarative/debugger/qv8profilerservice/tst_qv8profilerservice.cpp
@@ -98,7 +98,7 @@ protected:
void messageReceived(const QByteArray &message);
};
-class tst_QV8ProfilerService : public QObject
+class tst_QV8ProfilerService : public QDeclarativeDataTest
{
Q_OBJECT
@@ -174,7 +174,7 @@ void tst_QV8ProfilerService::connect(bool block)
else
arguments << QString("-qmljsdebugger=port:"STR_PORT);
- arguments << QString(TESTDATA(QLatin1String("test.qml")));
+ arguments << QDeclarativeDataTest::instance()->testFile("test.qml");
m_process = new QDeclarativeDebugProcess(executable);
m_process->start(QStringList() << arguments);