diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2009-03-26 16:22:48 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2009-03-26 16:22:48 -0230 |
commit | 09ad7aefdf77c9575d6b0d8f16df4e2d61cfc41f (patch) | |
tree | f2d6fef63d085070f174a24f1db123f893bbd1c0 /java/demo/Ice/protobuf/expect.py | |
parent | Allow for 3 line comment in header (diff) | |
download | ice-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-x | java/demo/Ice/protobuf/expect.py | 30 |
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) |