Bug 1253677 - Remove run_test functions from xpcshell tests; r=automatedtester
authorAndreas Tolfsen <ato@mozilla.com>
Fri, 04 Mar 2016 18:25:21 +0000
changeset 325118 fd949bc0794dfbfde903e51f7babce255ee8514b
parent 325117 4cdc1b0f32b709b0e9357961d8aa790ba9f53cd7
child 325119 3cf253e3a840dd98b5ba0d0a4f5c6ea45241da9f
push id1128
push userjlund@mozilla.com
push dateWed, 01 Jun 2016 01:31:59 +0000
treeherdermozilla-release@fe0d30de989d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersautomatedtester
bugs1253677
milestone47.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1253677 - Remove run_test functions from xpcshell tests; r=automatedtester These functions do nothing. MozReview-Commit-ID: 6AiXA8zEbv2
testing/marionette/test_error.js
testing/marionette/test_message.js
--- 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() {