summaryrefslogtreecommitdiff
path: root/demoscript/Ice/protobuf.py
diff options
context:
space:
mode:
Diffstat (limited to 'demoscript/Ice/protobuf.py')
-rw-r--r--demoscript/Ice/protobuf.py30
1 files changed, 0 insertions, 30 deletions
diff --git a/demoscript/Ice/protobuf.py b/demoscript/Ice/protobuf.py
deleted file mode 100644
index 23ad94fc48d..00000000000
--- a/demoscript/Ice/protobuf.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
-from demoscript import *
-from scripts import Expect
-
-def run(client, server):
- print "testing...",
- sys.stdout.flush()
- client.sendline('t')
- server.expect('Hello World from id: 1')
- server.expect('name: "Fred Jones"')
- server.expect('email: "fred@jones.com"')
- print "ok"
-
- print "shutting down...",
- client.sendline('s')
- server.waitTestSuccess()
-
- client.sendline('x')
- client.waitTestSuccess()
- print "ok"