diff options
author | Jose <jose@zeroc.com> | 2019-07-30 12:45:29 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2019-07-31 13:13:40 +0200 |
commit | 3e71d9e1a29bc8169452b039bb723406ff8ef0fe (patch) | |
tree | cfde39529b1a21d6f4c4e87b2a92a366eafc9993 /js/test/Ice/scope/Client.js | |
parent | Update .npmignore to ignore .tgz files (diff) | |
download | ice-3e71d9e1a29bc8169452b039bb723406ff8ef0fe.tar.bz2 ice-3e71d9e1a29bc8169452b039bb723406ff8ef0fe.tar.xz ice-3e71d9e1a29bc8169452b039bb723406ff8ef0fe.zip |
Fixes for C++ & Swift generated code - Close #458
Diffstat (limited to 'js/test/Ice/scope/Client.js')
-rw-r--r-- | js/test/Ice/scope/Client.js | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/js/test/Ice/scope/Client.js b/js/test/Ice/scope/Client.js index c65a92dd13e..e409baf9719 100644 --- a/js/test/Ice/scope/Client.js +++ b/js/test/Ice/scope/Client.js @@ -16,7 +16,7 @@ const out = this.getWriter(); const communicator = this.communicator(); - out.write("test same Slice type name in different scopes... "); + out.write("test using same type name in different Slice modules... "); { const i1 = await Test.IPrx.checkedCast(communicator.stringToProxy("i1:" + this.getTestEndpoint())); @@ -49,6 +49,15 @@ const [cmap2, cmap3] = await i1.opCMap(cmap1); test(cmap2.get("a").s.equals(s1)); test(cmap3.get("a").s.equals(s1)); + + const e = await i1.opE1(Test.E1.v1); + test(e == Test.E1.v1); + + const s = await i1.opS1(new Test.S1("S1")); + test(s.s == "S1"); + + const c = await i1.opC1(new Test.C1("C1")); + test(c.s == "C1"); } { |