summaryrefslogtreecommitdiff
path: root/tests/qml/data/multiclient.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qml/data/multiclient.html')
-rw-r--r--tests/qml/data/multiclient.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/qml/data/multiclient.html b/tests/qml/data/multiclient.html
new file mode 100644
index 0000000..1573a1a
--- /dev/null
+++ b/tests/qml/data/multiclient.html
@@ -0,0 +1,19 @@
+<html>
+ <head>
+ <script type="text/javascript" src="qrc:///qwebchannel/qwebchannel.js"></script>
+ <script type="text/javascript" src="testsetup.js"></script>
+ <script type="text/javascript">
+ //BEGIN SETUP
+ createWebChannel(function(channel) {
+ foo.ping.connect(function() {
+ foo.pong(function(value) {
+ channel.exec({pongAnswer: value});
+ });
+ });
+ });
+ //END SETUP
+ </script>
+ </head>
+ <body>
+ </body>
+</html>