diff options
author | Rogan Creswick <creswick@galois.com> | 2012-03-31 08:08:11 -0700 |
---|---|---|
committer | Rogan Creswick <creswick@galois.com> | 2012-03-31 08:08:11 -0700 |
commit | ec532e93339a942a395829ec87f427852cd72e00 (patch) | |
tree | f6ad13ca7f90f26fda9bc23e428ee367f153e3d2 /tools/addon-sdk-1.3/packages/test-harness/tests/test-packaging.js | |
parent | 780bf48de85215f5b0b6fde0df40599ac6f9c037 (diff) |
removed older addon-sdks from tools
Diffstat (limited to 'tools/addon-sdk-1.3/packages/test-harness/tests/test-packaging.js')
-rw-r--r-- | tools/addon-sdk-1.3/packages/test-harness/tests/test-packaging.js | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/tools/addon-sdk-1.3/packages/test-harness/tests/test-packaging.js b/tools/addon-sdk-1.3/packages/test-harness/tests/test-packaging.js deleted file mode 100644 index fb1f616..0000000 --- a/tools/addon-sdk-1.3/packages/test-harness/tests/test-packaging.js +++ /dev/null @@ -1,30 +0,0 @@ -var url = require("url"); -var file = require("file"); -var {Cm,Ci} = require("chrome"); - -exports.testPackaging = function(test) { - test.assertEqual(packaging.options.main, - 'test-harness/run-tests', - "main program should be the test harness"); - - var factory = Cm.getClassObjectByContractID( - packaging.options.bootstrap.contractID, - Ci.nsIFactory - ); - - var harness = factory.wrappedJSObject.singleton; - - test.assertEqual(packaging.harnessService, harness); - - test.assertNotEqual(harness.loader, undefined, - "bootstrap component should be available"); - - test.assertEqual(JSON.stringify(harness.options), - JSON.stringify(packaging.options), - ("bootstrap component options should be identical " + - "to packaging.options")); - - test.assertEqual(packaging.options.metadata['test-harness'].author, - 'Atul Varma (http://toolness.com/)', - "packaging metadata should be available"); -}; |