summaryrefslogtreecommitdiff
path: root/js/test/Glacier2/router/Client.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/test/Glacier2/router/Client.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);