summaryrefslogtreecommitdiff
path: root/python/test/Ice/ami/AllTests.py
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2017-03-20 21:51:43 +0100
committerJose <jose@zeroc.com>2017-03-20 21:51:43 +0100
commita47a05a2f73e377053f9b864b0f36c99a84708af (patch)
treefe18a51afcd5dd0f8b847c2a5c8cedc630ed19e0 /python/test/Ice/ami/AllTests.py
parentFixed gmake build system dependency issue (diff)
downloadice-a47a05a2f73e377053f9b864b0f36c99a84708af.tar.bz2
ice-a47a05a2f73e377053f9b864b0f36c99a84708af.tar.xz
ice-a47a05a2f73e377053f9b864b0f36c99a84708af.zip
Fix (ICE-7684) - use Disp prefix only for class with operations skeletons
Diffstat (limited to 'python/test/Ice/ami/AllTests.py')
-rw-r--r--python/test/Ice/ami/AllTests.py24
1 files changed, 12 insertions, 12 deletions
diff --git a/python/test/Ice/ami/AllTests.py b/python/test/Ice/ami/AllTests.py
index b7dd106aadb..36d20450bf7 100644
--- a/python/test/Ice/ami/AllTests.py
+++ b/python/test/Ice/ami/AllTests.py
@@ -446,13 +446,13 @@ def allTests(communicator, collocated):
cookie = 5
cbWC = ResponseCallbackWC(cookie)
- p.begin_ice_isA(Test._TestIntfDisp.ice_staticId(), cb.isA, cb.ex)
+ p.begin_ice_isA(Test.TestIntf.ice_staticId(), cb.isA, cb.ex)
cb.check()
- p.begin_ice_isA(Test._TestIntfDisp.ice_staticId(), lambda r: cbWC.isA(r, cookie), lambda ex: cbWC.ex(ex, cookie))
+ p.begin_ice_isA(Test.TestIntf.ice_staticId(), lambda r: cbWC.isA(r, cookie), lambda ex: cbWC.ex(ex, cookie))
cbWC.check()
- p.begin_ice_isA(Test._TestIntfDisp.ice_staticId(), cb.isA, cb.ex, context=ctx)
+ p.begin_ice_isA(Test.TestIntf.ice_staticId(), cb.isA, cb.ex, context=ctx)
cb.check()
- p.begin_ice_isA(Test._TestIntfDisp.ice_staticId(), lambda r: cbWC.isA(r, cookie), lambda ex: cbWC.ex(ex, cookie),
+ p.begin_ice_isA(Test.TestIntf.ice_staticId(), lambda r: cbWC.isA(r, cookie), lambda ex: cbWC.ex(ex, cookie),
context=ctx)
cbWC.check()
@@ -563,9 +563,9 @@ def allTests(communicator, collocated):
cookie = 5
cbWC = ExceptionCallbackWC(cookie)
- i.begin_ice_isA(Test._TestIntfDisp.ice_staticId(), cb.response, cb.ex)
+ i.begin_ice_isA(Test.TestIntf.ice_staticId(), cb.response, cb.ex)
cb.check()
- i.begin_ice_isA(Test._TestIntfDisp.ice_staticId(), lambda b: cbWC.response(b, cookie), lambda ex: cbWC.ex(ex, cookie))
+ i.begin_ice_isA(Test.TestIntf.ice_staticId(), lambda b: cbWC.response(b, cookie), lambda ex: cbWC.ex(ex, cookie))
cbWC.check()
i.begin_ice_ping(cb.response, cb.ex)
@@ -604,8 +604,8 @@ def allTests(communicator, collocated):
cbWC = ExceptionCallbackWC(cookie)
# Ensures no exception is called when response is received.
- p.begin_ice_isA(Test._TestIntfDisp.ice_staticId(), cb.nullResponse, cb.noEx)
- p.begin_ice_isA(Test._TestIntfDisp.ice_staticId(), lambda b: cbWC.nullResponse(b, cookie),
+ p.begin_ice_isA(Test.TestIntf.ice_staticId(), cb.nullResponse, cb.noEx)
+ p.begin_ice_isA(Test.TestIntf.ice_staticId(), lambda b: cbWC.nullResponse(b, cookie),
lambda ex: cbWC.noEx(ex, cookie))
p.begin_op(cb.nullResponse, cb.noEx)
p.begin_op(lambda: cbWC.nullResponse(cookie), lambda ex: cbWC.noEx(ex, cookie))
@@ -1308,9 +1308,9 @@ def allTestsFuture(communicator, collocated):
ctx = {}
cb = FutureDoneCallback()
- p.ice_isAAsync(Test._TestIntfDisp.ice_staticId()).add_done_callback(cb.isA)
+ p.ice_isAAsync(Test.TestIntf.ice_staticId()).add_done_callback(cb.isA)
cb.check()
- p.ice_isAAsync(Test._TestIntfDisp.ice_staticId(), ctx).add_done_callback(cb.isA)
+ p.ice_isAAsync(Test.TestIntf.ice_staticId(), ctx).add_done_callback(cb.isA)
cb.check()
p.ice_pingAsync().add_done_callback(cb.ping)
@@ -1391,7 +1391,7 @@ def allTestsFuture(communicator, collocated):
i = Test.TestIntfPrx.uncheckedCast(p.ice_adapterId("dummy"))
cb = FutureExceptionCallback()
- i.ice_isAAsync(Test._TestIntfDisp.ice_staticId()).add_done_callback(cb.ex)
+ i.ice_isAAsync(Test.TestIntf.ice_staticId()).add_done_callback(cb.ex)
cb.check()
i.ice_pingAsync().add_done_callback(cb.ex)
@@ -1418,7 +1418,7 @@ def allTestsFuture(communicator, collocated):
cb = FutureExceptionCallback()
# Ensures no exception is set when response is received.
- p.ice_isAAsync(Test._TestIntfDisp.ice_staticId()).add_done_callback(cb.noEx)
+ p.ice_isAAsync(Test.TestIntf.ice_staticId()).add_done_callback(cb.noEx)
p.opAsync().add_done_callback(cb.noEx)
# If response is a user exception, it should be received.