summaryrefslogtreecommitdiff
path: root/js/test/Common/Common.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/test/Common/Common.js')
-rw-r--r--js/test/Common/Common.js41
1 files changed, 0 insertions, 41 deletions
diff --git a/js/test/Common/Common.js b/js/test/Common/Common.js
deleted file mode 100644
index 3fb5b860cd8..00000000000
--- a/js/test/Common/Common.js
+++ /dev/null
@@ -1,41 +0,0 @@
-// **********************************************************************
-//
-// Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved.
-//
-// This copy of Ice is licensed to you under the terms described in the
-// ICE_LICENSE file included in this distribution.
-//
-// **********************************************************************
-
-/* globals -Ice*/
-var Ice = require("ice").Ice;
-
-var write = function(msg)
-{
- process.stdout.write(msg);
-};
-
-var writeLine = function(msg)
-{
- this.write(msg + "\n");
-};
-
-var run = function(m)
-{
- var id = new Ice.InitializationData();
- id.properties = Ice.createProperties(process.argv);
- var test = m.require("./Client").__test__;
-
- test({write: write, writeLine: writeLine}, id).catch(
- ex =>
- {
- console.log(ex.toString());
- if(ex.stack)
- {
- console.log(ex.stack);
- }
- process.exit(1);
- });
-};
-
-exports.run = run;