aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/debugger/qv8profilerservice/data
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/debugger/qv8profilerservice/data')
-rw-r--r--tests/auto/qml/debugger/qv8profilerservice/data/console.qml14
-rw-r--r--tests/auto/qml/debugger/qv8profilerservice/data/exit.qml11
-rw-r--r--tests/auto/qml/debugger/qv8profilerservice/data/test.qml5
3 files changed, 30 insertions, 0 deletions
diff --git a/tests/auto/qml/debugger/qv8profilerservice/data/console.qml b/tests/auto/qml/debugger/qv8profilerservice/data/console.qml
new file mode 100644
index 0000000000..c23c820216
--- /dev/null
+++ b/tests/auto/qml/debugger/qv8profilerservice/data/console.qml
@@ -0,0 +1,14 @@
+import QtQuick 2.0
+
+
+Item {
+ function f()
+ {
+ }
+
+ Component.onCompleted: {
+ console.profile();
+ f();
+ console.profileEnd();
+ }
+}
diff --git a/tests/auto/qml/debugger/qv8profilerservice/data/exit.qml b/tests/auto/qml/debugger/qv8profilerservice/data/exit.qml
new file mode 100644
index 0000000000..604265354c
--- /dev/null
+++ b/tests/auto/qml/debugger/qv8profilerservice/data/exit.qml
@@ -0,0 +1,11 @@
+import QtQuick 2.0
+
+Item {
+ Timer {
+ running: true
+ interval: 1
+ onTriggered: {
+ Qt.quit();
+ }
+ }
+}
diff --git a/tests/auto/qml/debugger/qv8profilerservice/data/test.qml b/tests/auto/qml/debugger/qv8profilerservice/data/test.qml
new file mode 100644
index 0000000000..9c36e13c5b
--- /dev/null
+++ b/tests/auto/qml/debugger/qv8profilerservice/data/test.qml
@@ -0,0 +1,5 @@
+import QtQuick 2.0
+
+Item {
+
+}