diff options
Diffstat (limited to 'js/test/Ice/operations/ServerAMD.js')
-rw-r--r-- | js/test/Ice/operations/ServerAMD.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/test/Ice/operations/ServerAMD.js b/js/test/Ice/operations/ServerAMD.js index 1260960957b..6995ff1c08c 100644 --- a/js/test/Ice/operations/ServerAMD.js +++ b/js/test/Ice/operations/ServerAMD.js @@ -8,6 +8,7 @@ const Test = require("Test").Test; const TestHelper = require("TestHelper").TestHelper; const AMDMyDerivedClassI = require("AMDMyDerivedClassI").AMDMyDerivedClassI; + const AMDBI = require("AMDBI").AMDBI; class ServerAMD extends TestHelper { @@ -23,6 +24,7 @@ echo = await Test.EchoPrx.checkedCast(communicator.stringToProxy("__echo:" + this.getTestEndpoint())); const adapter = await communicator.createObjectAdapter(""); adapter.add(new AMDMyDerivedClassI(echo.ice_getEndpoints()), Ice.stringToIdentity("test")); + adapter.add(new AMDBI(), Ice.stringToIdentity("b")); await echo.setConnection(); echo.ice_getCachedConnection().setAdapter(adapter); this.serverReady(); |