diff options
author | Jose <jose@zeroc.com> | 2018-08-14 20:02:53 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2018-08-14 20:03:24 +0200 |
commit | 7d722e7eb41abd0147458c72285f6fea706c980e (patch) | |
tree | 3d7d1884d6fccfd8a44ab9dabb8d833813aee846 /js/test/Common/TestHelper.js | |
parent | Fixed icehashpassword deprecation warning with python debug (diff) | |
download | ice-7d722e7eb41abd0147458c72285f6fea706c980e.tar.bz2 ice-7d722e7eb41abd0147458c72285f6fea706c980e.tar.xz ice-7d722e7eb41abd0147458c72285f6fea706c980e.zip |
Fixes to allow run JavaScript and Python tests with workers
Diffstat (limited to 'js/test/Common/TestHelper.js')
-rw-r--r-- | js/test/Common/TestHelper.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/test/Common/TestHelper.js b/js/test/Common/TestHelper.js index 7f51e743fb3..b577c9ad2a6 100644 --- a/js/test/Common/TestHelper.js +++ b/js/test/Common/TestHelper.js @@ -109,8 +109,8 @@ createTestProperties(args = []) { const properties = Ice.createProperties(args); - properties.parseCommandLineOptions("Test", args); - return properties; + args = properties.parseCommandLineOptions("Test", args); + return [properties, args]; } initialize(...args) @@ -129,7 +129,7 @@ } else { - initData.properties = this.createTestProperties(args[0]); + [initData.properties, args[0]] = this.createTestProperties(args[0]); } } @@ -138,7 +138,7 @@ { this._communicator = communicator; } - return communicator; + return [communicator, args[0]]; } communicator() |