summaryrefslogtreecommitdiff
path: root/py/test/Ice/optional/Server.py
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2012-11-09 16:22:47 -0800
committerMark Spruiell <mes@zeroc.com>2012-11-09 16:22:47 -0800
commit493caea19fd83663eb03b4eeaf7714f99ac07b97 (patch)
tree39f8b7dc983394288cb25961a0907ebe0b0f5847 /py/test/Ice/optional/Server.py
parentICE-4914 - Update Database/Oracle demos (diff)
downloadice-493caea19fd83663eb03b4eeaf7714f99ac07b97.tar.bz2
ice-493caea19fd83663eb03b4eeaf7714f99ac07b97.tar.xz
ice-493caea19fd83663eb03b4eeaf7714f99ac07b97.zip
ICE-4930 - fixes for scripting languages
Diffstat (limited to 'py/test/Ice/optional/Server.py')
-rwxr-xr-xpy/test/Ice/optional/Server.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/py/test/Ice/optional/Server.py b/py/test/Ice/optional/Server.py
index 87fe29db70c..a3225fb8552 100755
--- a/py/test/Ice/optional/Server.py
+++ b/py/test/Ice/optional/Server.py
@@ -23,10 +23,10 @@ class InitialI(Test.Initial):
return o
def opOptionalException(self, a, b, o, current=None):
- raise Test.OptionalException(a, b, o)
+ raise Test.OptionalException(False, a, b, o)
def opDerivedException(self, a, b, o, current=None):
- raise Test.DerivedException(a, b, o, b, o)
+ raise Test.DerivedException(False, a, b, o, b, o)
def opRequiredException(self, a, b, o, current=None):
e = Test.RequiredException()
@@ -132,6 +132,12 @@ class InitialI(Test.Initial):
def opClassAndUnknownOptional(self, p, current=None):
pass
+ def sendOptionalClass(self, req, o, current=None):
+ pass
+
+ def returnOptionalClass(self, req, current=None):
+ return Test.OneOptional(5)
+
def supportsRequiredParams(self, current=None):
return False