aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorKurt Pattyn <pattyn.kurt@gmail.com>2013-11-01 18:55:23 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-11-01 18:55:57 +0100
commit6c600550171ecec793c8ef1b05378ffd289681ac (patch)
treea1e2b9446e2a16ddc2e725a1171a8862016036cf /tests
parentd102c7ae433be0cee30c441ab48d9144a2be523f (diff)
Remove unneeded files
Change-Id: Iff3e9b3abdc3e9159ec75ca5466aad6f93314aa4 Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/autobahn/scripts/echoserver.py58
-rwxr-xr-xtests/autobahn/scripts/start_basic_sockettests.sh10
-rwxr-xr-xtests/autobahn/scripts/start_echo_server.sh1
-rwxr-xr-xtests/autobahn/scripts/stop_echo_server.sh1
4 files changed, 0 insertions, 70 deletions
diff --git a/tests/autobahn/scripts/echoserver.py b/tests/autobahn/scripts/echoserver.py
deleted file mode 100644
index 5478eb2..0000000
--- a/tests/autobahn/scripts/echoserver.py
+++ /dev/null
@@ -1,58 +0,0 @@
-###############################################################################
-##
-## Copyright 2011,2012 Tavendo GmbH
-##
-## Licensed under the Apache License, Version 2.0 (the "License");
-## you may not use this file except in compliance with the License.
-## You may obtain a copy of the License at
-##
-## http://www.apache.org/licenses/LICENSE-2.0
-##
-## Unless required by applicable law or agreed to in writing, software
-## distributed under the License is distributed on an "AS IS" BASIS,
-## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-## See the License for the specific language governing permissions and
-## limitations under the License.
-##
-###############################################################################
-
-import sys
-
-from twisted.internet import reactor
-from twisted.python import log
-from twisted.web.server import Site
-from twisted.web.static import File
-
-from autobahn.websocket import WebSocketServerFactory, \
- WebSocketServerProtocol, \
- listenWS
-
-
-class EchoServerProtocol(WebSocketServerProtocol):
-
- def onMessage(self, msg, binary):
- self.sendMessage(msg, binary)
-
-
-if __name__ == '__main__':
-
- if len(sys.argv) > 1 and sys.argv[1] == 'debug':
- log.startLogging(sys.stdout)
- debug = True
- else:
- debug = False
-
- factory = WebSocketServerFactory("ws://localhost:9000",
- debug = debug,
- debugCodePaths = debug)
-
- factory.protocol = EchoServerProtocol
- factory.setProtocolOptions(allowHixie76 = True)
- listenWS(factory)
-
- webdir = File(".")
- web = Site(webdir)
- reactor.listenTCP(8080, web)
-
- reactor.run()
-
diff --git a/tests/autobahn/scripts/start_basic_sockettests.sh b/tests/autobahn/scripts/start_basic_sockettests.sh
deleted file mode 100755
index 4ba4896..0000000
--- a/tests/autobahn/scripts/start_basic_sockettests.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-#cd test
-#/usr/local/bin/wstest -m echoserver -w ws://localhost:9000 &
-#/usr/bin/python echoserver.py &
-
-./unittests -xunitxml -o ./unittest_result.xml
-
-#stop server
-#pid=$(ps -eo pid,command,lstart | grep '/usr/bin/python' | tail -1 | grep -e '^ (\d+)' -E -o | grep -e '(\d+)' -E -o)
-#kill -9 $pid
-
diff --git a/tests/autobahn/scripts/start_echo_server.sh b/tests/autobahn/scripts/start_echo_server.sh
deleted file mode 100755
index c101287..0000000
--- a/tests/autobahn/scripts/start_echo_server.sh
+++ /dev/null
@@ -1 +0,0 @@
-/usr/bin/python echoserver.py -w &
diff --git a/tests/autobahn/scripts/stop_echo_server.sh b/tests/autobahn/scripts/stop_echo_server.sh
deleted file mode 100755
index 8c8a2a4..0000000
--- a/tests/autobahn/scripts/stop_echo_server.sh
+++ /dev/null
@@ -1 +0,0 @@
-#wstest -m echoserver -w ws://localhost:9000 &