Bug 1253677 - Remove run_test functions from xpcshell tests; r?automatedtester
These functions do nothing.
MozReview-Commit-ID: 6AiXA8zEbv2
--- a/testing/marionette/test_error.js
+++ b/testing/marionette/test_error.js
@@ -1,20 +1,16 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
const {utils: Cu} = Components;
Cu.import("chrome://marionette/content/error.js");
-function run_test() {
- run_next_test();
-}
-
function notok(condition) {
ok(!(condition));
}
add_test(function test_BuiltinErrors() {
ok("Error" in error.BuiltinErrors);
ok("EvalError" in error.BuiltinErrors);
ok("InternalError" in error.BuiltinErrors);
--- a/testing/marionette/test_message.js
+++ b/testing/marionette/test_message.js
@@ -2,20 +2,16 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
const {utils: Cu} = Components;
Cu.import("chrome://marionette/content/error.js");
Cu.import("chrome://marionette/content/message.js");
-function run_test() {
- run_next_test();
-}
-
add_test(function test_MessageOrigin() {
equal(0, MessageOrigin.Client);
equal(1, MessageOrigin.Server);
run_next_test();
});
add_test(function test_Message_fromMsg() {