Rename TestFailureBugForm to FailingTestsBugForm
authoraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Jul 2011 15:10:17 +0000 (15:10 +0000)
committeraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Jul 2011 15:10:17 +0000 (15:10 +0000)
The new name will match better with a forthcoming FlakyTestBugForm class.

Fixes <http://webkit.org/b/64598> TestFailures page's TestFailureBugForm class has a bad
name

Reviewed by Daniel Bates.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FailingTestsBugForm.js: Renamed from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestFailureBugForm.js.
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FailingTestsBugForm_unittests.js: Renamed from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestFailureBugForm_unittests.js.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/run-unittests.html:
Updated for renames.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/index.html: Ditto, and
reordered <script>s to put files which others depend on for parsing first.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@91068 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FailingTestsBugForm.js [moved from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestFailureBugForm.js with 97% similarity]
Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FailingTestsBugForm_unittests.js [moved from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestFailureBugForm_unittests.js with 98% similarity]
Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js
Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/index.html
Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/run-unittests.html
Tools/ChangeLog

similarity index 97%
rename from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestFailureBugForm.js
rename to Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FailingTestsBugForm.js
index 877a5b17a210bbd5b3891c5b841271b66fb5fc3b..ba49c3d8f79588177fd8d04fe486fd1c29579c30 100644 (file)
@@ -56,7 +56,7 @@ const BugzillaConstants = {
     },
 };
 
-function TestFailureBugForm(bugzilla, trac, tester, failingBuildName, passingBuildName, failingTests) {
+function FailingTestsBugForm(bugzilla, trac, tester, failingBuildName, passingBuildName, failingTests) {
     NewBugForm.call(this, bugzilla);
 
     this._trac = trac;
@@ -82,7 +82,7 @@ function TestFailureBugForm(bugzilla, trac, tester, failingBuildName, passingBui
     this.version = BugzillaConstants.Version.Nightly;
 }
 
-TestFailureBugForm.prototype = {
+FailingTestsBugForm.prototype = {
     domElement: function() {
         var form = NewBugForm.prototype.domElement.call(this);
         form.className = 'new-bug-form';
@@ -189,4 +189,4 @@ TestFailureBugForm.prototype = {
     },
 };
 
-TestFailureBugForm.prototype.__proto__ = NewBugForm.prototype;
+FailingTestsBugForm.prototype.__proto__ = NewBugForm.prototype;
similarity index 98%
rename from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestFailureBugForm_unittests.js
rename to Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FailingTestsBugForm_unittests.js
index fc4b8d6761558fae318c670e1a6b68fc2f3d94bd..2ff1e0657388cd418b5f4ef4d99db325d0516cea 100644 (file)
@@ -25,7 +25,7 @@
 
 (function() {
 
-module('TestFailureBugForm');
+module('FailingTestsBugForm');
 
 function MockBuilder(name) {
     this.name = name;
@@ -59,7 +59,7 @@ function createTestForm(testerName, failingBuildName, passingBuildName, failingT
         return '[RESULTS PAGE URL ' + this.name + ', ' + buildName + ']';
     }
 
-    return new TestFailureBugForm(mockBugzilla, mockTrac, mockBuilder, failingBuildName, passingBuildName, failingTests);
+    return new FailingTestsBugForm(mockBugzilla, mockTrac, mockBuilder, failingBuildName, passingBuildName, failingTests);
 }
 
 test('component and keywords are set', 2, function() {
index d306d2a2ace2c9f666045a07a7414d7e764ca55f..820aee5467961849609bc01f97c9c99f21cd6bbb 100644 (file)
@@ -385,7 +385,7 @@ ViewController.prototype = {
             closedList.appendChildren(closedBugs.map(bugToListItem));
         });
 
-        var bugForm = new TestFailureBugForm(this._bugzilla, this._trac, tester, failingBuildName, passingBuildName, failingTests);
+        var bugForm = new FailingTestsBugForm(this._bugzilla, this._trac, tester, failingBuildName, passingBuildName, failingTests);
 
         var form = bugForm.domElement();
         result.appendChild(form);
index 23258f795531d2064c712f150ecb2762fc4d3ea8..682bb07737cc3ca233f398f3c75003f6da14506e 100644 (file)
@@ -27,19 +27,20 @@ THE POSSIBILITY OF SUCH DAMAGE.
 <html>
 <head>
     <link rel="stylesheet" href="TestFailures.css"></link>
+    <script src="Utilities.js"></script>
     <script src="Bugzilla.js"></script>
+    <script src="NewBugForm.js"></script>
+    <script src="FailingTestsBugForm.js"></script>
+
     <script src="Buildbot.js"></script>
     <script src="Builder.js"></script>
     <script src="FlakyLayoutTestDetector.js"></script>
     <script src="LayoutTestHistoryAnalyzer.js"></script>
     <script src="LayoutTestResultsLoader.js"></script>
     <script src="NRWTResultsParser.js"></script>
-    <script src="NewBugForm.js"></script>
     <script src="ORWTResultsParser.js"></script>
     <script src="PersistentCache.js"></script>
-    <script src="TestFailureBugForm.js"></script>
     <script src="Trac.js"></script>
-    <script src="Utilities.js"></script>
     <script src="ViewController.js"></script>
 
     <script src="WebKitBuildbot.js"></script>
index b760b2bd1a39c42f843f1b5e70ca92b5e4aa52bb..27400b919d3430e9ebcd92d19b12fad89a3b369d 100644 (file)
@@ -29,7 +29,7 @@
 <script src="Builder.js"></script>
 <script src="Builder_unittests.js"></script>
 
-<script src="TestFailureBugForm.js"></script>
-<script src="TestFailureBugForm_unittests.js"></script>
+<script src="FailingTestsBugForm.js"></script>
+<script src="FailingTestsBugForm_unittests.js"></script>
 </body>
 </html>
index 2c6ca8839b6d30626b9677efd1a9f793190f3d25..505ea2ff0fe39466fe94b2f9c46c40a9744d31d6 100644 (file)
@@ -1,3 +1,24 @@
+2011-07-15  Adam Roben  <aroben@apple.com>
+
+        Rename TestFailureBugForm to FailingTestsBugForm
+
+        The new name will match better with a forthcoming FlakyTestBugForm class.
+
+        Fixes <http://webkit.org/b/64598> TestFailures page's TestFailureBugForm class has a bad
+        name
+
+        Reviewed by Daniel Bates.
+
+        * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FailingTestsBugForm.js: Renamed from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestFailureBugForm.js.
+        * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/FailingTestsBugForm_unittests.js: Renamed from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestFailureBugForm_unittests.js.
+
+        * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
+        * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/run-unittests.html:
+        Updated for renames.
+
+        * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/index.html: Ditto, and
+        reordered <script>s to put files which others depend on for parsing first.
+
 2011-07-15  Adam Barth  <abarth@webkit.org>
 
         NRWT stores the Chromium revision number in full_results.json