aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/debugger/qv8profilerservice/data/console.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/debugger/qv8profilerservice/data/console.qml')
-rw-r--r--tests/auto/qml/debugger/qv8profilerservice/data/console.qml14
1 files changed, 14 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();
+ }
+}