diff options
Diffstat (limited to 'python')
-rwxr-xr-x | python/test/Ice/ami/Collocated.py | 1 | ||||
-rwxr-xr-x | python/test/Ice/ami/Server.py | 1 | ||||
-rw-r--r-- | python/test/Ice/ami/Test.ice | 15 | ||||
-rw-r--r-- | python/test/Ice/ami/TestI.py | 4 |
4 files changed, 21 insertions, 0 deletions
diff --git a/python/test/Ice/ami/Collocated.py b/python/test/Ice/ami/Collocated.py index d349e62c1d5..c2b9bc85579 100755 --- a/python/test/Ice/ami/Collocated.py +++ b/python/test/Ice/ami/Collocated.py @@ -30,6 +30,7 @@ def run(args, communicator): testController = TestI.TestIntfControllerI(adapter) adapter.add(TestI.TestIntfI(), Ice.stringToIdentity("test")) + adapter.add(TestI.TestIntfII(), Ice.stringToIdentity("test2")) #adapter.activate() # Collocated test doesn't need to active the OA adapter2.add(testController, Ice.stringToIdentity("testController")) diff --git a/python/test/Ice/ami/Server.py b/python/test/Ice/ami/Server.py index c60a21bbb06..b667abf9fad 100755 --- a/python/test/Ice/ami/Server.py +++ b/python/test/Ice/ami/Server.py @@ -29,6 +29,7 @@ def run(args, communicator): testController = TestI.TestIntfControllerI(adapter) adapter.add(TestI.TestIntfI(), Ice.stringToIdentity("test")) + adapter.add(TestI.TestIntfII(), Ice.stringToIdentity("test2")) adapter.activate() adapter2.add(testController, Ice.stringToIdentity("testController")) diff --git a/python/test/Ice/ami/Test.ice b/python/test/Ice/ami/Test.ice index 1b7852dc1df..f3d7a873bfe 100644 --- a/python/test/Ice/ami/Test.ice +++ b/python/test/Ice/ami/Test.ice @@ -59,4 +59,19 @@ interface TestIntfController void resumeAdapter(); } +module Outer +{ + +module Inner +{ + +interface TestIntf +{ + int op(int i, out int j); +} + +} + +} + } diff --git a/python/test/Ice/ami/TestI.py b/python/test/Ice/ami/TestI.py index 0eb0675b721..1197976408b 100644 --- a/python/test/Ice/ami/TestI.py +++ b/python/test/Ice/ami/TestI.py @@ -80,6 +80,10 @@ class TestIntfI(Test.TestIntf): def pingBiDir(self, id, current = None): Test.PingReplyPrx.uncheckedCast(current.con.createProxy(id)).reply() +class TestIntfII(Test.Outer.Inner.TestIntf): + def op(self, i, current): + return (i, i) + class TestIntfControllerI(Test.TestIntfController): def __init__(self, adapter): self._adapter = adapter |