summaryrefslogtreecommitdiff
path: root/js/test/Ice/optional/Client.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/test/Ice/optional/Client.js')
-rw-r--r--js/test/Ice/optional/Client.js12
1 files changed, 11 insertions, 1 deletions
diff --git a/js/test/Ice/optional/Client.js b/js/test/Ice/optional/Client.js
index f28a37e1fe9..02cb3340d76 100644
--- a/js/test/Ice/optional/Client.js
+++ b/js/test/Ice/optional/Client.js
@@ -11,6 +11,7 @@
{
var Ice = require("ice").Ice;
var Test = require("Test").Test;
+ var ClientPrivate = require("../optional/ClientPrivate").Test;
var Promise = Ice.Promise;
var ArrayUtil = Ice.ArrayUtil;
@@ -355,7 +356,16 @@
test(g.gg2.a.equals(new Ice.Long(0, 10)));
test(g.gg2Opt.a.equals(new Ice.Long(0, 20)));
test(g.gg1.a == "gg1");
-
+ }
+ ).then(
+ function()
+ {
+ var init2 = ClientPrivate.Initial2Prx.uncheckedCast(initial)
+ return init2.opVoid(5, "test");
+ }
+ ).then(
+ function()
+ {
out.writeLine("ok");
out.write("testing marshaling of large containers with fixed size elements... ");
var mc = new Test.MultiOptional();