summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2018-02-08 17:23:26 +0100
committerJose <jose@zeroc.com>2018-02-08 17:23:26 +0100
commit41a4ea50bba42cd4585244f5a8e3ccbc6c20da4c (patch)
tree92eda1d6156d91d4bfce18f8fc06820af1e401ff /js
parentRemove old files (diff)
parentFixed matlab check for testing (diff)
downloadice-41a4ea50bba42cd4585244f5a8e3ccbc6c20da4c.tar.bz2
ice-41a4ea50bba42cd4585244f5a8e3ccbc6c20da4c.tar.xz
ice-41a4ea50bba42cd4585244f5a8e3ccbc6c20da4c.zip
Merge branch '3.7' of github.com:zeroc-ice/ice into 3.7
Diffstat (limited to 'js')
-rw-r--r--js/test/Glacier2/router/Client.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/js/test/Glacier2/router/Client.js b/js/test/Glacier2/router/Client.js
index 76db6a620db..9ea97bf1ec5 100644
--- a/js/test/Glacier2/router/Client.js
+++ b/js/test/Glacier2/router/Client.js
@@ -141,6 +141,19 @@
await base.ice_ping();
out.writeLine("ok");
+ {
+ out.write("pinging object with client endpoint... ");
+ const baseC = communicator.stringToProxy("collocated:default -p 12060");
+ try
+ {
+ await baseC.ice_ping();
+ }
+ catch(ex)
+ {
+ }
+ out.writeLine("ok");
+ }
+
out.write("testing checked cast for server object... ");
let twoway = await Test.CallbackPrx.checkedCast(base);
test(twoway !== null);