Bug 613802 - Dummy test for Mozmill restart tests to circumvent Tinderbox fail errors. r=ctalbert a=test-only
authorHenrik Skupin <hskupin@mozilla.com>
Thu, 02 Dec 2010 10:14:13 -0800
changeset 58504 a3559b626db17cd9a85455fa6b1153184148130f
parent 58503 2719d97b67669af35081a175a65509cc58cd35f6
child 58505 ba2e3cdbaaf3b67ebb03bee51e2b5f690a6ea12f
push id1
push usershaver@mozilla.com
push dateTue, 04 Jan 2011 17:58:04 +0000
reviewersctalbert, test-only
bugs613802
milestone2.0b8pre
Bug 613802 - Dummy test for Mozmill restart tests to circumvent Tinderbox fail errors. r=ctalbert a=test-only
testing/mozmill/tests/firefox/restartTests/readme.txt
testing/mozmill/tests/firefox/restartTests/testDummyTest/test1.js
--- a/testing/mozmill/tests/firefox/restartTests/readme.txt
+++ b/testing/mozmill/tests/firefox/restartTests/readme.txt
@@ -1,1 +1,4 @@
-Right now no Mozmill restart tests are available which only access locally hosted web pages via httpd.
+Please note that no Mozmill restart tests are available, which use local web
+pages delivered by httpd. Because of that, a dummy test has to live inside the
+restartTests folder, which circumvents another problem on buildbot, where at
+least one test has to pass. Otherwise a Tinderbox Fail will be raised.
new file mode 100644
--- /dev/null
+++ b/testing/mozmill/tests/firefox/restartTests/testDummyTest/test1.js
@@ -0,0 +1,39 @@
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is MozMill Test code.
+ *
+ * The Initial Developer of the Original Code is Mozilla Foundation.
+ * Portions created by the Initial Developer are Copyright (C) 2009
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ *   Henrik Skupin <hskupin@mozilla.com>
+ *
+ * Alternatively, the contents of this file may be used under the terms of
+ * either the GNU General Public License Version 2 or later (the "GPL"), or
+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
+ * in which case the provisions of the GPL or the LGPL are applicable instead
+ * of those above. If you wish to allow use of your version of this file only
+ * under the terms of either the GPL or the LGPL, and not to allow others to
+ * use your version of this file under the terms of the MPL, indicate your
+ * decision by deleting the provisions above and replace them with the notice
+ * and other provisions required by the GPL or the LGPL. If you do not delete
+ * the provisions above, a recipient may use your version of this file under
+ * the terms of any one of the MPL, the GPL or the LGPL.
+ *
+ * ***** END LICENSE BLOCK ***** */
+
+function setupModule(module) {
+  module.controller = mozmill.getBrowserController();
+}