diff options
4 files changed, 13 insertions, 1 deletions
diff --git a/cpp/test/IceDiscovery/simple/AllTests.cpp b/cpp/test/IceDiscovery/simple/AllTests.cpp index 9cfe48b94ff..6eb9913954f 100644 --- a/cpp/test/IceDiscovery/simple/AllTests.cpp +++ b/cpp/test/IceDiscovery/simple/AllTests.cpp @@ -57,6 +57,7 @@ allTests(const CommunicatorPtr& communicator, int num) try { communicator->stringToProxy("object @ oa1")->ice_ping(); + test(false); } catch(const Ice::NoEndpointException&) { @@ -67,6 +68,7 @@ allTests(const CommunicatorPtr& communicator, int num) try { communicator->stringToProxy("object @ oa1")->ice_ping(); + test(false); } catch(const Ice::ObjectNotExistException&) { @@ -77,6 +79,7 @@ allTests(const CommunicatorPtr& communicator, int num) try { communicator->stringToProxy("object @ oa1")->ice_ping(); + test(false); } catch(const Ice::NoEndpointException&) { diff --git a/csharp/test/IceDiscovery/simple/AllTests.cs b/csharp/test/IceDiscovery/simple/AllTests.cs index e2c27398508..24060e86db3 100644 --- a/csharp/test/IceDiscovery/simple/AllTests.cs +++ b/csharp/test/IceDiscovery/simple/AllTests.cs @@ -52,6 +52,7 @@ public class AllTests : TestCommon.AllTests try { communicator.stringToProxy("object @ oa1").ice_ping(); + test(false); } catch(Ice.NoEndpointException) { @@ -62,6 +63,7 @@ public class AllTests : TestCommon.AllTests try { communicator.stringToProxy("object @ oa1").ice_ping(); + test(false); } catch(Ice.ObjectNotExistException) { @@ -72,6 +74,7 @@ public class AllTests : TestCommon.AllTests try { communicator.stringToProxy("object @ oa1").ice_ping(); + test(false); } catch(Ice.NoEndpointException) { diff --git a/java-compat/test/src/main/java/test/IceDiscovery/simple/AllTests.java b/java-compat/test/src/main/java/test/IceDiscovery/simple/AllTests.java index 0857c1e1c6d..09a90399143 100644 --- a/java-compat/test/src/main/java/test/IceDiscovery/simple/AllTests.java +++ b/java-compat/test/src/main/java/test/IceDiscovery/simple/AllTests.java @@ -66,6 +66,7 @@ public class AllTests try { communicator.stringToProxy("object @ oa1").ice_ping(); + test(false); } catch(Ice.NoEndpointException ex) { @@ -76,6 +77,7 @@ public class AllTests try { communicator.stringToProxy("object @ oa1").ice_ping(); + test(false); } catch(Ice.ObjectNotExistException ex) { @@ -86,13 +88,14 @@ public class AllTests try { communicator.stringToProxy("object @ oa1").ice_ping(); + test(false); } catch(Ice.NoEndpointException ex) { } } System.out.println("ok"); - + System.out.print("testing object adapter migration..."); System.out.flush(); { diff --git a/java/test/src/main/java/test/IceDiscovery/simple/AllTests.java b/java/test/src/main/java/test/IceDiscovery/simple/AllTests.java index f499874419c..820a6ad0bd9 100644 --- a/java/test/src/main/java/test/IceDiscovery/simple/AllTests.java +++ b/java/test/src/main/java/test/IceDiscovery/simple/AllTests.java @@ -66,6 +66,7 @@ public class AllTests try { communicator.stringToProxy("object @ oa1").ice_ping(); + test(false); } catch(com.zeroc.Ice.NoEndpointException ex) { @@ -76,6 +77,7 @@ public class AllTests try { communicator.stringToProxy("object @ oa1").ice_ping(); + test(false); } catch(com.zeroc.Ice.ObjectNotExistException ex) { @@ -86,6 +88,7 @@ public class AllTests try { communicator.stringToProxy("object @ oa1").ice_ping(); + test(false); } catch(com.zeroc.Ice.NoEndpointException ex) { |