summaryrefslogtreecommitdiff
path: root/python/test/Ice/objects/TestI.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/test/Ice/objects/TestI.py')
-rw-r--r--python/test/Ice/objects/TestI.py14
1 files changed, 13 insertions, 1 deletions
diff --git a/python/test/Ice/objects/TestI.py b/python/test/Ice/objects/TestI.py
index 0dc810b32ef..1c2763a1fa2 100644
--- a/python/test/Ice/objects/TestI.py
+++ b/python/test/Ice/objects/TestI.py
@@ -147,7 +147,7 @@ class InitialI(Test.Initial):
def getH(self, current=None):
return HI()
-
+
def getD1(self, d1, current=None):
return d1
@@ -163,6 +163,18 @@ class InitialI(Test.Initial):
def getCompact(self, current=None):
return Test.CompactExt()
+ def getInnerA(self, current=None):
+ return Test.Inner.A(self._b1)
+
+ def getInnerSubA(self, current=None):
+ return Test.Inner.Sub.A(Test.Inner.A(self._b1))
+
+ def throwInnerEx(self, current=None):
+ raise Test.Inner.Ex("Inner::Ex")
+
+ def throwInnerSubEx(self, current=None):
+ raise Test.Inner.Sub.Ex("Inner::Sub::Ex")
+
class UnexpectedObjectExceptionTestI(Test.UnexpectedObjectExceptionTest):
def op(self, current=None):
return Test.AlsoEmpty()