diff options
author | Benoit Foucher <benoit@zeroc.com> | 2013-01-07 16:20:00 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2013-01-07 16:20:00 +0100 |
commit | f68bda81245047d672879dbb90e55b4446ffa71b (patch) | |
tree | 4334915e140af70af74f1d8b2a32eba6bf97f57f /py/test/Ice/exceptions/AllTests.py | |
parent | Added missing RemoteObserverI.java file (diff) | |
download | ice-f68bda81245047d672879dbb90e55b4446ffa71b.tar.bz2 ice-f68bda81245047d672879dbb90e55b4446ffa71b.tar.xz ice-f68bda81245047d672879dbb90e55b4446ffa71b.zip |
Fixed ICE-5150: assert in OutgoingAsync._finished, fixed CHANGES
Diffstat (limited to 'py/test/Ice/exceptions/AllTests.py')
-rw-r--r-- | py/test/Ice/exceptions/AllTests.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/py/test/Ice/exceptions/AllTests.py b/py/test/Ice/exceptions/AllTests.py index 2e203eeed8e..1957b647c70 100644 --- a/py/test/Ice/exceptions/AllTests.py +++ b/py/test/Ice/exceptions/AllTests.py @@ -434,6 +434,8 @@ class Callback(CallbackBase): raise ex except Ice.UnknownLocalException as ex: pass + except Ice.OperationNotExistException as ex: + pass except: test(False) self.called() @@ -745,6 +747,16 @@ def allTests(communicator): except: print(sys.exc_info()) test(False) + try: + thrower.throwLocalExceptionIdempotent() + test(False) + except Ice.UnknownLocalException: + pass + except Ice.OperationNotExistException: + pass + except: + print(sys.exc_info()) + test(False) print("ok") @@ -1002,6 +1014,10 @@ def allTests(communicator): thrower.begin_throwLocalException(cb.response, cb.exception_LocalException) cb.check() + cb = Callback() + thrower.begin_throwLocalExceptionIdempotent(cb.response, cb.exception_LocalException) + cb.check() + print("ok") sys.stdout.write("catching unknown non-Ice exception with new AMI mapping... ") |