summaryrefslogtreecommitdiff
path: root/java/demo/Ice/protobuf/expect.py
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2009-03-26 16:22:48 -0230
committerDwayne Boone <dwayne@zeroc.com>2009-03-26 16:22:48 -0230
commit09ad7aefdf77c9575d6b0d8f16df4e2d61cfc41f (patch)
treef2d6fef63d085070f174a24f1db123f893bbd1c0 /java/demo/Ice/protobuf/expect.py
parentAllow for 3 line comment in header (diff)
downloadice-09ad7aefdf77c9575d6b0d8f16df4e2d61cfc41f.tar.bz2
ice-09ad7aefdf77c9575d6b0d8f16df4e2d61cfc41f.tar.xz
ice-09ad7aefdf77c9575d6b0d8f16df4e2d61cfc41f.zip
Removed protobuf demos/tests
Diffstat (limited to 'java/demo/Ice/protobuf/expect.py')
-rwxr-xr-xjava/demo/Ice/protobuf/expect.py30
1 files changed, 0 insertions, 30 deletions
diff --git a/java/demo/Ice/protobuf/expect.py b/java/demo/Ice/protobuf/expect.py
deleted file mode 100755
index 60dabda57bf..00000000000
--- a/java/demo/Ice/protobuf/expect.py
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/usr/bin/env python
-# **********************************************************************
-#
-# Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved.
-#
-# This copy of Ice is licensed to you under the terms described in the
-# ICE_LICENSE file included in this distribution.
-#
-# **********************************************************************
-
-import sys, os
-
-path = [ ".", "..", "../..", "../../..", "../../../.." ]
-head = os.path.dirname(sys.argv[0])
-if len(head) > 0:
- path = [os.path.join(head, p) for p in path]
-path = [os.path.abspath(p) for p in path if os.path.exists(os.path.join(p, "demoscript")) ]
-if len(path) == 0:
- raise "can't find toplevel directory!"
-sys.path.append(path[0])
-
-from demoscript import *
-from demoscript.Ice import protobuf
-
-server = Util.spawn('java Server --Ice.PrintAdapterReady --Ice.Warn.Connections=0')
-server.expect('.* ready')
-client = Util.spawn('java Client --Ice.Warn.Connections=0')
-client.expect('.*==>')
-
-protobuf.run(client, server)