diff options
Diffstat (limited to 'js/test')
-rw-r--r-- | js/test/Glacier2/router/Client.js | 13 |
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); |