summaryrefslogtreecommitdiff
path: root/py/test/Ice/optional/Server.py
diff options
context:
space:
mode:
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