<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[199180] trunk/Tools</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/199180">199180</a></dd>
<dt>Author</dt> <dd>jmarcell@apple.com</dd>
<dt>Date</dt> <dd>2016-04-07 14:08:40 -0700 (Thu, 07 Apr 2016)</dd>
</dl>
<h3>Log Message</h3>
<pre>Adding layout tests for the bot watcher's dashboard QUnit tests. https://bugs.webkit.org/show_bug.cgi?id=155272
Reviewed by Daniel Bates.
Moved supporting resources into a resources folder and updated index.html accordingly
to point to the new locations. Added code to tests.js to dumpAsText when QUnit is done.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/index-expected.txt: Added.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/index.html: Updated to point to tests.js and Mock files in resources directory.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbotQueue.js: Renamed from
Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockBuildbotQueue.js.
(MockBuildbotQueue):
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbotQueueView.js: Renamed from
Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockBuildbotQueueView.js.
(MockBuildbotQueueView):
(MockBuildbotQueueView.prototype._latestProductiveIteration):
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockTrac.js: Renamed from
Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockTrac.js.
(MockTrac):
(MockTrac.prototype.get oldestRecordedRevisionNumber):
(MockTrac.prototype.get latestRecordedRevisionNumber):
(MockTrac.prototype.loadMoreHistoricalData):
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/test-fixture-git-trac-rss.xml: Renamed from
Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/test-fixture-git-trac-rss.xml.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/test-fixture-trac-rss.xml: Renamed from
Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/test-fixture-trac-rss.xml.
* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/tests.js: Renamed from
Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js.
Updated the unit tests for Trac._loaded() to point to the XML files that are now located in the 'resources' directory.
(QUnit.done): Added. Removes machine-specific output from test results and calls testRunner.notifyDone to let the layout test harness know that all testing is done.
* Scripts/run-dashboard-tests: Added.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkToolsBuildSlaveSupportbuildwebkitorgconfigpublic_htmldashboardScriptstestsindexhtml">trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/index.html</a></li>
<li><a href="#trunkToolsChangeLog">trunk/Tools/ChangeLog</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#trunkToolsBuildSlaveSupportbuildwebkitorgconfigpublic_htmldashboardScriptstestsindexexpectedtxt">trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/index-expected.txt</a></li>
<li>trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/</li>
<li><a href="#trunkToolsBuildSlaveSupportbuildwebkitorgconfigpublic_htmldashboardScriptstestsresourcesMockBuildbotQueuejs">trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbotQueue.js</a></li>
<li><a href="#trunkToolsBuildSlaveSupportbuildwebkitorgconfigpublic_htmldashboardScriptstestsresourcesMockBuildbotQueueViewjs">trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbotQueueView.js</a></li>
<li><a href="#trunkToolsBuildSlaveSupportbuildwebkitorgconfigpublic_htmldashboardScriptstestsresourcesMockTracjs">trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockTrac.js</a></li>
<li><a href="#trunkToolsBuildSlaveSupportbuildwebkitorgconfigpublic_htmldashboardScriptstestsresourcestestfixturegittracrssxml">trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/test-fixture-git-trac-rss.xml</a></li>
<li><a href="#trunkToolsBuildSlaveSupportbuildwebkitorgconfigpublic_htmldashboardScriptstestsresourcestestfixturetracrssxml">trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/test-fixture-trac-rss.xml</a></li>
<li><a href="#trunkToolsBuildSlaveSupportbuildwebkitorgconfigpublic_htmldashboardScriptstestsresourcestestsjs">trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/tests.js</a></li>
<li><a href="#trunkToolsScriptsrundashboardtests">trunk/Tools/Scripts/run-dashboard-tests</a></li>
</ul>
<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkToolsBuildSlaveSupportbuildwebkitorgconfigpublic_htmldashboardScriptstestsMockBuildbotQueuejs">trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockBuildbotQueue.js</a></li>
<li><a href="#trunkToolsBuildSlaveSupportbuildwebkitorgconfigpublic_htmldashboardScriptstestsMockBuildbotQueueViewjs">trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockBuildbotQueueView.js</a></li>
<li><a href="#trunkToolsBuildSlaveSupportbuildwebkitorgconfigpublic_htmldashboardScriptstestsMockTracjs">trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockTrac.js</a></li>
<li><a href="#trunkToolsBuildSlaveSupportbuildwebkitorgconfigpublic_htmldashboardScriptsteststestfixturegittracrssxml">trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/test-fixture-git-trac-rss.xml</a></li>
<li><a href="#trunkToolsBuildSlaveSupportbuildwebkitorgconfigpublic_htmldashboardScriptsteststestfixturetracrssxml">trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/test-fixture-trac-rss.xml</a></li>
<li><a href="#trunkToolsBuildSlaveSupportbuildwebkitorgconfigpublic_htmldashboardScriptsteststestsjs">trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkToolsBuildSlaveSupportbuildwebkitorgconfigpublic_htmldashboardScriptstestsMockBuildbotQueuejs"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockBuildbotQueue.js (199179 => 199180)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockBuildbotQueue.js        2016-04-07 21:01:42 UTC (rev 199179)
+++ trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockBuildbotQueue.js        2016-04-07 21:08:40 UTC (rev 199180)
</span><span class="lines">@@ -1,50 +0,0 @@
</span><del>-/*
- * Copyright (C) 2016 Apple, Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-MockBuildbotQueue = function()
-{
- info = {
- branches: "",
- platform: "",
- debug: "",
- builder: "",
- tester: "",
- performance: "",
- staticAnalyzer: "",
- leaks: "",
- architecture: "",
- testCategory: "",
- heading: "",
- crashesOnly: ""
- };
- BuildbotQueue.call(this, "Mock BuildBot", "id", info);
-};
-
-BaseObject.addConstructorFunctions(MockBuildbotQueue);
-
-MockBuildbotQueue.prototype = {
- constructor: MockBuildbotQueue,
- __proto__: BuildbotQueue.prototype
-}
</del></span></pre></div>
<a id="trunkToolsBuildSlaveSupportbuildwebkitorgconfigpublic_htmldashboardScriptstestsMockBuildbotQueueViewjs"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockBuildbotQueueView.js (199179 => 199180)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockBuildbotQueueView.js        2016-04-07 21:01:42 UTC (rev 199179)
+++ trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockBuildbotQueueView.js        2016-04-07 21:08:40 UTC (rev 199180)
</span><span class="lines">@@ -1,51 +0,0 @@
</span><del>-/*
- * Copyright (C) 2016 Apple, Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-MockBuildbotQueueView = function(queues)
-{
- this.element = document.createElement("div");
- this.element.classList.add("queue-view");
- this.element.__queueView = this;
-
- this.queues = queues || [];
-
- BaseObject.call(this);
-};
-
-BaseObject.addConstructorFunctions(MockBuildbotQueueView);
-
-MockBuildbotQueueView.prototype = {
- constructor: MockBuildbotQueueView,
- __proto__: BuildbotQueueView.prototype,
-
- _latestProductiveIteration: function(queue)
- {
- return {
- revision: {
- "openSource": "33020"
- }
- };
- }
-};
</del></span></pre></div>
<a id="trunkToolsBuildSlaveSupportbuildwebkitorgconfigpublic_htmldashboardScriptstestsMockTracjs"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockTrac.js (199179 => 199180)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockTrac.js        2016-04-07 21:01:42 UTC (rev 199179)
+++ trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockTrac.js        2016-04-07 21:08:40 UTC (rev 199180)
</span><span class="lines">@@ -1,103 +0,0 @@
</span><del>-/*
- * Copyright (C) 2016 Apple, Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-MockTrac = function()
-{
- Trac.call(this, "https://trac.webkit.org/");
-};
-
-BaseObject.addConstructorFunctions(MockTrac);
-
-MockTrac.prototype = {
- constructor: MockTrac,
- __proto__: Trac.prototype,
-
- get oldestRecordedRevisionNumber()
- {
- return "33018";
- },
-
- get latestRecordedRevisionNumber()
- {
- return "33022";
- },
-
- loadMoreHistoricalData: function()
- {
- },
-};
-
-MockTrac.EXAMPLE_TRAC_COMMITS = [
- {
- "revisionNumber": "33018",
- "link": "https://trac.webkit.org/changeset/33018",
- "title": { innerHTML: "commit message" },
- "author": "john@webkit.org",
- "date": new Date("2015-11-15T17:05:44.000Z"),
- "description": "description",
- "containsBranchLocation": true,
- "branches": ["trunk"]
- },
- {
- "revisionNumber": "33019",
- "link": "https://trac.webkit.org/changeset/33019",
- "title": { innerHTML: "commit message" },
- "author": "paul@webkit.org",
- "date": new Date("2015-11-16T01:18:23.000Z"),
- "description": "description",
- "containsBranchLocation": true,
- "branches": ["someOtherBranch"]
- },
- {
- "revisionNumber": "33020",
- "link": "https://trac.webkit.org/changeset/33020",
- "title": { innerHTML: "commit message" },
- "author": "george@webkit.org",
- "date": new Date("2015-11-16T01:19:27.000Z"),
- "description": "description",
- "containsBranchLocation": true,
- "branches": ["trunk"]
- },
- {
- "revisionNumber": "33021",
- "link": "https://trac.webkit.org/changeset/33021",
- "title": { innerHTML: "commit message" },
- "author": "ringo@webkit.org",
- "date": new Date("2015-11-16T01:20:58.000Z"),
- "description": "description",
- "containsBranchLocation": true,
- "branches": ["someOtherBranch"]
- },
- {
- "revisionNumber": "33022",
- "link": "https://trac.webkit.org/changeset/33022",
- "title": { innerHTML: "commit message" },
- "author": "bob@webkit.org",
- "date": new Date("2015-11-16T01:22:01.000Z"),
- "description": "description",
- "containsBranchLocation": true,
- "branches": ["trunk"]
- }
-];
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkToolsBuildSlaveSupportbuildwebkitorgconfigpublic_htmldashboardScriptstestsindexexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/index-expected.txt (0 => 199180)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/index-expected.txt         (rev 0)
+++ trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/index-expected.txt        2016-04-07 21:08:40 UTC (rev 199180)
</span><span class="lines">@@ -0,0 +1,34 @@
</span><ins>+WebKit Bot Watcher's Dashboard QUnit Test Runner noglobalsnotrycatch
+Hide passed tests
+Trac: _loaded (0, 8, 8)Rerun
+Trac: parse gitBranches (0, 7, 7)Rerun
+Trac: _parseRevisionFromURL (0, 3, 3)Rerun
+Trac: nextRevision (0, 2, 2)Rerun
+Trac: indexOfRevision (0, 1, 1)Rerun
+Trac: commitsOnBranchLaterThanRevision (0, 1, 1)Rerun
+Trac: commitsOnBranchLaterThanRevision no commits (0, 1, 1)Rerun
+Trac: commitsOnBranchInRevisionRange (0, 1, 1)Rerun
+BuildBotQueueView: _appendPendingRevisionCount (0, 1, 1)Rerun
+BuildBotQueueView: _popoverLinesForCommitRange (0, 1, 1)Rerun
+BuildBotQueueView: _presentPopoverForPendingCommits (0, 1, 1)Rerun
+BuildBotQueueView: _presentPopoverForPendingCommits no pending commits (0, 1, 1)Rerun
+BuildBotQueueView: _presentPopoverForRevisionRange (0, 1, 1)Rerun
+BuildBotQueueView: _presentPopoverForRevisionRange no commits (0, 1, 1)Rerun
+BuildBotQueueView: _revisionContentWithPopoverForIteration (0, 3, 3)Rerun
+BuildBotQueueView: _revisionContentWithPopoverForIteration has previousIteration (0, 4, 4)Rerun
+BuildBotQueueView: _formatRevisionForDisplay Subversion (0, 1, 1)Rerun
+BuildBotQueueView: _formatRevisionForDisplay Git (0, 1, 1)Rerun
+BuildBotQueue: compareIterations by revisions (0, 3, 3)Rerun
+BuildBotQueue: compareIterations by loaded (one revision missing) (0, 2, 2)Rerun
+BuildBotQueue: compareIterations by loaded (same revision) (0, 2, 2)Rerun
+BuildBotQueue: compareIterations by id (revisions not specified) (0, 3, 3)Rerun
+BuildBotQueue: compareIterations by id (same revision) (0, 3, 3)Rerun
+BuildBotQueue: compareIterationsByRevisions (0, 3, 3)Rerun
+r33022bob@webkit.orgcommit message
+commits since previous result
+r33020george@webkit.orgcommit message
+r33018john@webkit.orgcommit message
+no commits to trunk since previous result
+commits since previous result
+r33022bob@webkit.orgcommit message
+r33020george@webkit.orgcommit message
</ins></span></pre></div>
<a id="trunkToolsBuildSlaveSupportbuildwebkitorgconfigpublic_htmldashboardScriptstestsindexhtml"></a>
<div class="modfile"><h4>Modified: trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/index.html (199179 => 199180)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/index.html        2016-04-07 21:01:42 UTC (rev 199179)
+++ trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/index.html        2016-04-07 21:08:40 UTC (rev 199180)
</span><span class="lines">@@ -62,10 +62,10 @@
</span><span class="cx"> <script src="../Settings.js"></script>
</span><span class="cx"> <script src="../Trac.js"></script>
</span><span class="cx"> <script src="../../../../../../../Source/ThirdParty/qunit/qunit/qunit.js"></script>
</span><del>- <script src="MockTrac.js"></script>
- <script src="MockBuildbotQueue.js"></script>
- <script src="MockBuildbotQueueView.js"></script>
- <script src="tests.js"></script>
</del><ins>+ <script src="resources/MockTrac.js"></script>
+ <script src="resources/MockBuildbotQueue.js"></script>
+ <script src="resources/MockBuildbotQueueView.js"></script>
+ <script src="resources/tests.js"></script>
</ins><span class="cx">
</span><span class="cx"> </head>
</span><span class="cx"> <body>
</span></span></pre></div>
<a id="trunkToolsBuildSlaveSupportbuildwebkitorgconfigpublic_htmldashboardScriptstestsresourcesMockBuildbotQueuejsfromrev199179trunkToolsBuildSlaveSupportbuildwebkitorgconfigpublic_htmldashboardScriptstestsMockBuildbotQueuejs"></a>
<div class="copfile"><h4>Copied: trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbotQueue.js (from rev 199179, trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockBuildbotQueue.js) (0 => 199180)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbotQueue.js         (rev 0)
+++ trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbotQueue.js        2016-04-07 21:08:40 UTC (rev 199180)
</span><span class="lines">@@ -0,0 +1,50 @@
</span><ins>+/*
+ * Copyright (C) 2016 Apple, Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+MockBuildbotQueue = function()
+{
+ info = {
+ branches: "",
+ platform: "",
+ debug: "",
+ builder: "",
+ tester: "",
+ performance: "",
+ staticAnalyzer: "",
+ leaks: "",
+ architecture: "",
+ testCategory: "",
+ heading: "",
+ crashesOnly: ""
+ };
+ BuildbotQueue.call(this, "Mock BuildBot", "id", info);
+};
+
+BaseObject.addConstructorFunctions(MockBuildbotQueue);
+
+MockBuildbotQueue.prototype = {
+ constructor: MockBuildbotQueue,
+ __proto__: BuildbotQueue.prototype
+}
</ins></span></pre></div>
<a id="trunkToolsBuildSlaveSupportbuildwebkitorgconfigpublic_htmldashboardScriptstestsresourcesMockBuildbotQueueViewjsfromrev199179trunkToolsBuildSlaveSupportbuildwebkitorgconfigpublic_htmldashboardScriptstestsMockBuildbotQueueViewjs"></a>
<div class="copfile"><h4>Copied: trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbotQueueView.js (from rev 199179, trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockBuildbotQueueView.js) (0 => 199180)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbotQueueView.js         (rev 0)
+++ trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbotQueueView.js        2016-04-07 21:08:40 UTC (rev 199180)
</span><span class="lines">@@ -0,0 +1,51 @@
</span><ins>+/*
+ * Copyright (C) 2016 Apple, Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+MockBuildbotQueueView = function(queues)
+{
+ this.element = document.createElement("div");
+ this.element.classList.add("queue-view");
+ this.element.__queueView = this;
+
+ this.queues = queues || [];
+
+ BaseObject.call(this);
+};
+
+BaseObject.addConstructorFunctions(MockBuildbotQueueView);
+
+MockBuildbotQueueView.prototype = {
+ constructor: MockBuildbotQueueView,
+ __proto__: BuildbotQueueView.prototype,
+
+ _latestProductiveIteration: function(queue)
+ {
+ return {
+ revision: {
+ "openSource": "33020"
+ }
+ };
+ }
+};
</ins></span></pre></div>
<a id="trunkToolsBuildSlaveSupportbuildwebkitorgconfigpublic_htmldashboardScriptstestsresourcesMockTracjsfromrev199179trunkToolsBuildSlaveSupportbuildwebkitorgconfigpublic_htmldashboardScriptstestsMockTracjs"></a>
<div class="copfile"><h4>Copied: trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockTrac.js (from rev 199179, trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockTrac.js) (0 => 199180)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockTrac.js         (rev 0)
+++ trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockTrac.js        2016-04-07 21:08:40 UTC (rev 199180)
</span><span class="lines">@@ -0,0 +1,103 @@
</span><ins>+/*
+ * Copyright (C) 2016 Apple, Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+MockTrac = function()
+{
+ Trac.call(this, "https://trac.webkit.org/");
+};
+
+BaseObject.addConstructorFunctions(MockTrac);
+
+MockTrac.prototype = {
+ constructor: MockTrac,
+ __proto__: Trac.prototype,
+
+ get oldestRecordedRevisionNumber()
+ {
+ return "33018";
+ },
+
+ get latestRecordedRevisionNumber()
+ {
+ return "33022";
+ },
+
+ loadMoreHistoricalData: function()
+ {
+ },
+};
+
+MockTrac.EXAMPLE_TRAC_COMMITS = [
+ {
+ "revisionNumber": "33018",
+ "link": "https://trac.webkit.org/changeset/33018",
+ "title": { innerHTML: "commit message" },
+ "author": "john@webkit.org",
+ "date": new Date("2015-11-15T17:05:44.000Z"),
+ "description": "description",
+ "containsBranchLocation": true,
+ "branches": ["trunk"]
+ },
+ {
+ "revisionNumber": "33019",
+ "link": "https://trac.webkit.org/changeset/33019",
+ "title": { innerHTML: "commit message" },
+ "author": "paul@webkit.org",
+ "date": new Date("2015-11-16T01:18:23.000Z"),
+ "description": "description",
+ "containsBranchLocation": true,
+ "branches": ["someOtherBranch"]
+ },
+ {
+ "revisionNumber": "33020",
+ "link": "https://trac.webkit.org/changeset/33020",
+ "title": { innerHTML: "commit message" },
+ "author": "george@webkit.org",
+ "date": new Date("2015-11-16T01:19:27.000Z"),
+ "description": "description",
+ "containsBranchLocation": true,
+ "branches": ["trunk"]
+ },
+ {
+ "revisionNumber": "33021",
+ "link": "https://trac.webkit.org/changeset/33021",
+ "title": { innerHTML: "commit message" },
+ "author": "ringo@webkit.org",
+ "date": new Date("2015-11-16T01:20:58.000Z"),
+ "description": "description",
+ "containsBranchLocation": true,
+ "branches": ["someOtherBranch"]
+ },
+ {
+ "revisionNumber": "33022",
+ "link": "https://trac.webkit.org/changeset/33022",
+ "title": { innerHTML: "commit message" },
+ "author": "bob@webkit.org",
+ "date": new Date("2015-11-16T01:22:01.000Z"),
+ "description": "description",
+ "containsBranchLocation": true,
+ "branches": ["trunk"]
+ }
+];
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkToolsBuildSlaveSupportbuildwebkitorgconfigpublic_htmldashboardScriptstestsresourcestestfixturegittracrssxmlfromrev199179trunkToolsBuildSlaveSupportbuildwebkitorgconfigpublic_htmldashboardScriptsteststestfixturegittracrssxml"></a>
<div class="copfile"><h4>Copied: trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/test-fixture-git-trac-rss.xml (from rev 199179, trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/test-fixture-git-trac-rss.xml) (0 => 199180)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/test-fixture-git-trac-rss.xml         (rev 0)
+++ trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/test-fixture-git-trac-rss.xml        2016-04-07 21:08:40 UTC (rev 199180)
</span><span class="lines">@@ -0,0 +1,75 @@
</span><ins>+<?xml version="1.0"?>
+<!--
+Copyright (C) 2016 Apple, Inc. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+THE POSSIBILITY OF SUCH DAMAGE.
+-->
+
+<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
+ <channel>
+ <title>WebKit</title>
+ <link>https://trac.webkit.org/timeline</link>
+ <description>Trac Timeline</description>
+ <language>en-US</language>
+ <generator>Trac 0.12.3</generator>
+ <image>
+ <title>WebKit</title>
+ <url>https://trac.webkit.org/chrome/site/favicon.png</url>
+ <link>https://trac.webkit.org/timeline</link>
+ </image>
+ <item>
+ <title>Changeset [33025]: Ita prorsus inquam Ad corpus diceres pertinere, sed ea, quae dixi</title>
+ <branches>master, someOtherBranch</branches>
+
+ <author>george@webkit.org</author>
+
+ <pubDate>Tue, 26 Jan 2016 22:48:15 GMT</pubDate>
+ <link>https://trac.webkit.org/changeset/33025</link>
+ <guid isPermaLink="false">https://trac.webkit.org/changeset/33025/1453848495332569</guid>
+ <description>Description</description>
+ <category>changeset</category>
+ </item>
+ <item>
+ <title>Changeset [33024]: An eum discere ea mavis, quae cum plane perdidiceriti nihil sciat</title>
+ <branches>master</branches>
+
+ <author>paul@webkit.org</author>
+
+ <pubDate>Tue, 26 Jan 2016 22:22:25 GMT</pubDate>
+ <link>https://trac.webkit.org/changeset/33024</link>
+ <guid isPermaLink="false">https://trac.webkit.org/changeset/33024/1453846945244007</guid>
+ <description>Description</description>
+ <category>changeset</category>
+ </item>
+ <item>
+ <title>Changeset [33023]: Lorem ipsum dolor sit amet, consectetur adipiscing elit.</title>
+
+ <author>john@webkit.org</author>
+
+ <pubDate>Tue, 26 Jan 2016 22:22:14 GMT</pubDate>
+ <link>https://trac.webkit.org/changeset/33023</link>
+ <guid isPermaLink="false">https://trac.webkit.org/changeset/33023/1453846934034550</guid>
+ <description>Description</description>
+ <category>changeset</category>
+ </item>
+ </channel>
+</rss>
</ins></span></pre></div>
<a id="trunkToolsBuildSlaveSupportbuildwebkitorgconfigpublic_htmldashboardScriptstestsresourcestestfixturetracrssxmlfromrev199179trunkToolsBuildSlaveSupportbuildwebkitorgconfigpublic_htmldashboardScriptsteststestfixturetracrssxml"></a>
<div class="copfile"><h4>Copied: trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/test-fixture-trac-rss.xml (from rev 199179, trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/test-fixture-trac-rss.xml) (0 => 199180)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/test-fixture-trac-rss.xml         (rev 0)
+++ trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/test-fixture-trac-rss.xml        2016-04-07 21:08:40 UTC (rev 199180)
</span><span class="lines">@@ -0,0 +1,71 @@
</span><ins>+<?xml version="1.0"?>
+<!--
+Copyright (C) 2016 Apple, Inc. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+THE POSSIBILITY OF SUCH DAMAGE.
+-->
+
+<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
+ <channel>
+ <title>WebKit</title>
+ <link>https://trac.webkit.org/timeline</link>
+ <description>Trac Timeline</description>
+ <language>en-US</language>
+ <generator>Trac 0.12.3</generator>
+ <image>
+ <title>WebKit</title>
+ <url>https://trac.webkit.org/chrome/site/favicon.png</url>
+ <link>https://trac.webkit.org/timeline</link>
+ </image>
+ <item>
+ <title>Changeset [33025]: Ita prorsus inquam Ad corpus diceres pertinere, sed ea, quae dixi</title>
+
+ <author>george@webkit.org</author>
+
+ <pubDate>Tue, 26 Jan 2016 22:48:15 GMT</pubDate>
+ <link>https://trac.webkit.org/changeset/33025</link>
+ <guid isPermaLink="false">https://trac.webkit.org/changeset/33025/1453848495332569</guid>
+ <description>Description</description>
+ <category>changeset</category>
+ </item><item>
+ <title>Changeset [33024]: An eum discere ea mavis, quae cum plane perdidiceriti nihil sciat</title>
+
+ <author>paul@webkit.org</author>
+
+ <pubDate>Tue, 26 Jan 2016 22:22:25 GMT</pubDate>
+ <link>https://trac.webkit.org/changeset/33024</link>
+ <guid isPermaLink="false">https://trac.webkit.org/changeset/33024/1453846945244007</guid>
+ <description>Description</description>
+ <category>changeset</category>
+ </item><item>
+ <title>Changeset [33023]: Lorem ipsum dolor sit amet, consectetur adipiscing elit.</title>
+
+ <author>john@webkit.org</author>
+
+ <pubDate>Tue, 26 Jan 2016 22:22:14 GMT</pubDate>
+ <link>https://trac.webkit.org/changeset/33023</link>
+ <guid isPermaLink="false">https://trac.webkit.org/changeset/33023/1453846934034550</guid>
+ <description>Description</description>
+ <category>changeset</category>
+ </item>
+ </channel>
+</rss>
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkToolsBuildSlaveSupportbuildwebkitorgconfigpublic_htmldashboardScriptstestsresourcestestsjsfromrev199179trunkToolsBuildSlaveSupportbuildwebkitorgconfigpublic_htmldashboardScriptsteststestsjs"></a>
<div class="copfile"><h4>Copied: trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/tests.js (from rev 199179, trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js) (0 => 199180)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/tests.js         (rev 0)
+++ trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/tests.js        2016-04-07 21:08:40 UTC (rev 199180)
</span><span class="lines">@@ -0,0 +1,358 @@
</span><ins>+/*
+ * Copyright (C) 2016 Apple, Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+if (window.testRunner) {
+ window.testRunner.dumpAsText();
+ window.testRunner.waitUntilDone();
+}
+
+QUnit.done = function(details) {
+ if (window.testRunner) {
+ var element = document.getElementById("qunit-testresult");
+ element.parentNode.removeChild(element);
+ element = document.getElementById("qunit-userAgent");
+ element.parentNode.removeChild(element);
+ window.testRunner.notifyDone();
+ }
+};
+
+module("Trac", {
+ setup: function() {
+ this.trac = new MockTrac();
+ }
+});
+
+test("_loaded", function()
+{
+ this.trac.recordedCommits = MockTrac.EXAMPLE_TRAC_COMMITS;
+ var client = new XMLHttpRequest();
+ client.open("GET", "resources/test-fixture-trac-rss.xml", false);
+ client.onload = function () {
+ this.trac._loaded(client.responseXML);
+ }.bind(this);
+ client.send();
+ var commits = this.trac.recordedCommits;
+ strictEqual(commits.length, 8, "should have 8 commits");
+ for (var i = 1; i < commits.length; i++) {
+ var firstRevision = commits[i - 1].revisionNumber;
+ var secondRevision = commits[i].revisionNumber;
+ strictEqual(secondRevision - firstRevision, 1, "commits should be in order " + firstRevision + ", " + secondRevision);
+ }
+});
+
+test("parse gitBranches", function()
+{
+ var client = new XMLHttpRequest();
+ client.open("GET", "resources/test-fixture-git-trac-rss.xml", false);
+ client.onload = function () {
+ this.trac._loaded(client.responseXML);
+ }.bind(this);
+ client.send();
+ var commits = this.trac.recordedCommits;
+ strictEqual(commits.length, 3, "should have 3 commits");
+ strictEqual(commits[0].branches.length, 0, "should have no branches");
+ strictEqual(commits[1].branches.length, 1, "should have one branch");
+ strictEqual(commits[1].branches.includes("master"), true, "should contain branch master");
+ strictEqual(commits[2].branches.length, 2, "should have two branches");
+ strictEqual(commits[2].branches.includes("master"), true, "should contain branch master");
+ strictEqual(commits[2].branches.includes("someOtherBranch"), true, "should contain branch someOtherBranch");
+});
+
+test("_parseRevisionFromURL", function()
+{
+ strictEqual(this.trac._parseRevisionFromURL("https://trac.webkit.org/changeset/190497"), "190497", "Subversion");
+ strictEqual(this.trac._parseRevisionFromURL("http://trac.foobar.com/repository/changeset/75388/project"), "75388", "Subversion with suffix");
+ strictEqual(this.trac._parseRevisionFromURL("https://git.foobar.com/trac/Whatever.git/changeset/0e498db5d8e5b5a342631"), "0e498db5d8e5b5a342631", "Git");
+});
+
+test("nextRevision", function()
+{
+ this.trac.recordedCommits = MockTrac.EXAMPLE_TRAC_COMMITS;
+ strictEqual(this.trac.nextRevision("trunk", "33020"), "33022", "nextRevision same branch");
+ strictEqual(this.trac.nextRevision("trunk", "33019"), "33020", "nextRevision different branch");
+});
+
+test("indexOfRevision", function()
+{
+ this.trac.recordedCommits = MockTrac.EXAMPLE_TRAC_COMMITS;
+ strictEqual(this.trac.indexOfRevision("33020"), 2, "indexOfRevision");
+});
+
+test("commitsOnBranchLaterThanRevision", function()
+{
+ this.trac.recordedCommits = MockTrac.EXAMPLE_TRAC_COMMITS;
+ var commits = this.trac.commitsOnBranchLaterThanRevision("trunk", "33020");
+ equal(commits.length, 1, "greater than 33020");
+});
+
+test("commitsOnBranchLaterThanRevision no commits", function()
+{
+ this.trac.recordedCommits = MockTrac.EXAMPLE_TRAC_COMMITS;
+ var commits = this.trac.commitsOnBranchLaterThanRevision("someOtherBranch", "33021");
+ equal(commits.length, 0, "greater than 33021");
+});
+
+test("commitsOnBranchInRevisionRange", function()
+{
+ this.trac.recordedCommits = MockTrac.EXAMPLE_TRAC_COMMITS;
+ var commits = this.trac.commitsOnBranchInRevisionRange("trunk", "33020", "33022");
+ equal(commits.length, 2, "in range 33020, 33022");
+});
+
+module("BuildBotQueueView", {
+ setup: function() {
+ this.trac = new MockTrac();
+ this.trac.recordedCommits = MockTrac.EXAMPLE_TRAC_COMMITS;
+ this.queue = new MockBuildbotQueue();
+ this.trunkBranch = {
+ name: "trunk",
+ repository: {
+ name: "openSource",
+ trac: this.trac,
+ isSVN: true,
+ }
+ };
+ this.queue.branches = [this.trunkBranch];
+ this.view = new MockBuildbotQueueView([this.queue]);
+ }
+});
+
+var settings = new Settings;
+test("_appendPendingRevisionCount", function()
+{
+ this.view._appendPendingRevisionCount(this.queue);
+ var revisionsBehind = this.view.element.getElementsByClassName("message")[0].innerHTML.match(/.*(\d+) revision(|s) behind/)[1];
+ strictEqual(revisionsBehind, "1", "assert revisions behind");
+});
+
+test("_popoverLinesForCommitRange", function()
+{
+ var lines = this.view._popoverLinesForCommitRange(this.trac, this.trunkBranch, "33018", "33020");
+ strictEqual(lines.length, 2, "has 2 lines");
+});
+
+test("_presentPopoverForPendingCommits", function()
+{
+ var element = document.createElement("div");
+ var popover = new Dashboard.Popover();
+ this.view._presentPopoverForPendingCommits(element, popover, this.queue);
+ var nodeList = popover._element.getElementsByClassName("pending-commit");
+ strictEqual(nodeList.length, 1, "has 1 pending commit");
+});
+
+test("_presentPopoverForPendingCommits no pending commits", function()
+{
+ this.someOtherBranch = {
+ name: "someOtherBranch",
+ repository: {
+ name: "openSource",
+ trac: this.trac,
+ isSVN: true,
+ }
+ };
+ this.queue.branches = [this.someOtherBranch];
+ this.view._latestProductiveIteration = function(queue)
+ {
+ var iteration = {
+ revision: { "openSource": "33021" },
+ };
+ return iteration;
+ }
+ var element = document.createElement("div");
+ var popover = new Dashboard.Popover();
+ this.view._presentPopoverForPendingCommits(element, popover, this.queue);
+ var nodeList = popover._element.getElementsByClassName("pending-commit");
+ strictEqual(nodeList.length, 0, "has 0 pending commits");
+});
+
+test("_presentPopoverForRevisionRange", function()
+{
+ var element = document.createElement("div");
+ var popover = new Dashboard.Popover();
+ var context = {
+ trac: this.trac,
+ branch: this.trunkBranch,
+ firstRevision: "33018",
+ lastRevision: "33020"
+ };
+ this.view._presentPopoverForRevisionRange(element, popover, context);
+ var nodeList = popover._element.getElementsByClassName("pending-commit");
+ strictEqual(nodeList.length, 2, "has 2 commits");
+});
+
+test("_presentPopoverForRevisionRange no commits", function()
+{
+ var element = document.createElement("div");
+ var popover = new Dashboard.Popover();
+ var context = {
+ trac: this.trac,
+ branch: this.trunkBranch,
+ firstRevision: "33020",
+ lastRevision: "33018"
+ };
+ this.view._presentPopoverForRevisionRange(element, popover, context);
+ var nodeList = popover._element.getElementsByClassName("pending-commit");
+ strictEqual(nodeList.length, 0, "has 0 commits");
+});
+
+test("_revisionContentWithPopoverForIteration", function()
+{
+ var finished = false;
+ var iteration = new BuildbotIteration(this.queue, 1, finished);
+ iteration.revision = { "openSource": "33018" };
+ var previousIteration = null;
+ var content = this.view._revisionContentWithPopoverForIteration(iteration, previousIteration, this.trunkBranch);
+ strictEqual(content.innerHTML, "r33018", "should have correct revision number.");
+ strictEqual(content.classList.contains("revision-number"), true, "should have class 'revision-number'.");
+ strictEqual(content.classList.contains("popover-tracking"), false, "should not have class 'popover-tracking'.");
+});
+
+test("_revisionContentWithPopoverForIteration has previousIteration", function()
+{
+ var finished = false;
+ var iteration = new BuildbotIteration(this.queue, 2, finished);
+ iteration.revision = { "openSource": "33022" };
+ var previousIteration = new BuildbotIteration(this.queue, 1, finished);
+ previousIteration.revision = { "openSource": "33018" };
+ var content = this.view._revisionContentWithPopoverForIteration(iteration, previousIteration, this.trunkBranch);
+ strictEqual(content.innerHTML, "r33022", "should have correct revision number.");
+ strictEqual(content.classList.contains("revision-number"), true, "should have class 'revision-number'.");
+ strictEqual(content.classList.contains("popover-tracking"), true, "should have class 'popover-tracking'.");
+ var element = document.createElement("div");
+ var popover = new Dashboard.Popover();
+ this.view._presentPopoverForRevisionRange(element, popover, content.popoverTracker._context);
+ var nodeList = popover._element.getElementsByClassName("pending-commit");
+ strictEqual(nodeList.length, 2, "has 2 commits");
+});
+
+test("_formatRevisionForDisplay Subversion", function()
+{
+ var repository = this.trunkBranch.repository;
+ repository.isSVN = true;
+ repository.isGit = false;
+ strictEqual(this.view._formatRevisionForDisplay("33018", repository), "r33018", "Should be r33018")
+});
+
+test("_formatRevisionForDisplay Git", function()
+{
+ var repository = this.trunkBranch.repository;
+ repository.isSVN = false;
+ repository.isGit = true;
+ strictEqual(this.view._formatRevisionForDisplay("0e498db5d8e5b5a342631", repository), "0e498db", "Should be 0e498db");
+});
+
+module("BuildBotQueue", {
+ setup: function() {
+ Dashboard.Repository.OpenSource.trac = new MockTrac();
+ Dashboard.Repository.OpenSource.trac.recordedCommits = MockTrac.EXAMPLE_TRAC_COMMITS;
+ this.queue = new MockBuildbotQueue();
+ this.queue.branches = [{
+ name: "trunk",
+ repository: Dashboard.Repository.Opensource
+ }];
+ }
+});
+
+test("compareIterations by revisions", function()
+{
+ var finished = false;
+ var iteration1 = new BuildbotIteration(this.queue, 1, finished);
+ var iteration2 = new BuildbotIteration(this.queue, 2, finished);
+ iteration1.revision = { "openSource": "33018" };
+ iteration2.revision = { "openSource": "33019" };
+ iteration1.loaded = true;
+ iteration2.loaded = true;
+ ok(this.queue.compareIterations(iteration2, iteration1) < 0, "compareIterations: less than");
+ ok(this.queue.compareIterations(iteration1, iteration2) > 0, "compareIterations: greater than");
+ strictEqual(this.queue.compareIterations(iteration2, iteration2), 0, "compareIterations: equal");
+});
+
+test("compareIterations by loaded (one revision missing)", function()
+{
+ var finished = false;
+ var iteration1 = new BuildbotIteration(this.queue, 1, finished);
+ var iteration2 = new BuildbotIteration(this.queue, 2, finished);
+ iteration1.revision = {};
+ iteration2.revision = { "openSource": "33019" };
+ iteration1.loaded = false;
+ iteration2.loaded = true;
+ ok(this.queue.compareIterations(iteration1, iteration2) > 0, "compareIterations: greater than");
+ ok(this.queue.compareIterations(iteration2, iteration1) < 0, "compareIterations: less than");
+});
+
+test("compareIterations by loaded (same revision)", function()
+{
+ var finished = false;
+ var iteration1 = new BuildbotIteration(this.queue, 1, finished);
+ var iteration2 = new BuildbotIteration(this.queue, 2, finished);
+ iteration1.revision = { "openSource": "33019" };
+ iteration2.revision = { "openSource": "33019" };
+ iteration1.loaded = false;
+ iteration2.loaded = true;
+ ok(this.queue.compareIterations(iteration1, iteration2) > 0, "compareIterations: greater than");
+ ok(this.queue.compareIterations(iteration2, iteration1) < 0, "compareIterations: less than");
+});
+
+test("compareIterations by id (revisions not specified)", function()
+{
+ var finished = false;
+ var iteration1 = new BuildbotIteration(this.queue, 1, finished);
+ var iteration2 = new BuildbotIteration(this.queue, 2, finished);
+ iteration1.revision = {};
+ iteration2.revision = {};
+ iteration1.loaded = false;
+ iteration2.loaded = false;
+ ok(this.queue.compareIterations(iteration2, iteration1) < 0, "compareIterations: less than");
+ ok(this.queue.compareIterations(iteration1, iteration2) > 0, "compareIterations: greater than");
+ strictEqual(this.queue.compareIterations(iteration2, iteration2), 0, "compareIterations: equal");
+});
+
+test("compareIterations by id (same revision)", function()
+{
+ var finished = false;
+ var iteration1 = new BuildbotIteration(this.queue, 1, finished);
+ var iteration2 = new BuildbotIteration(this.queue, 2, finished);
+ iteration1.revision = { "openSource": "33019" };
+ iteration2.revision = { "openSource": "33019" };
+ iteration1.loaded = false;
+ iteration2.loaded = false;
+ ok(this.queue.compareIterations(iteration2, iteration1) < 0, "compareIterations: less than");
+ ok(this.queue.compareIterations(iteration1, iteration2) > 0, "compareIterations: greater than");
+ strictEqual(this.queue.compareIterations(iteration2, iteration2), 0, "compareIterations: equal");
+});
+
+test("compareIterationsByRevisions", function()
+{
+ var finished = false;
+ var iteration1 = new BuildbotIteration(this.queue, 1, finished);
+ var iteration2 = new BuildbotIteration(this.queue, 2, finished);
+ iteration1.revision = { "openSource": "33018" };
+ iteration2.revision = { "openSource": "33019" };
+ iteration1.loaded = true;
+ iteration2.loaded = false;
+ ok(this.queue.compareIterationsByRevisions(iteration2, iteration1) < 0, "compareIterationsByRevisions: less than");
+ ok(this.queue.compareIterationsByRevisions(iteration1, iteration2) > 0, "compareIterationsByRevisions: greater than");
+ strictEqual(this.queue.compareIterationsByRevisions(iteration2, iteration2), 0, "compareIterationsByRevisions: equal");
+});
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkToolsBuildSlaveSupportbuildwebkitorgconfigpublic_htmldashboardScriptsteststestfixturegittracrssxml"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/test-fixture-git-trac-rss.xml (199179 => 199180)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/test-fixture-git-trac-rss.xml        2016-04-07 21:01:42 UTC (rev 199179)
+++ trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/test-fixture-git-trac-rss.xml        2016-04-07 21:08:40 UTC (rev 199180)
</span><span class="lines">@@ -1,75 +0,0 @@
</span><del>-<?xml version="1.0"?>
-<!--
-Copyright (C) 2016 Apple, Inc. All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions
-are met:
-1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
-THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
-THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
-BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
-THE POSSIBILITY OF SUCH DAMAGE.
--->
-
-<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
- <channel>
- <title>WebKit</title>
- <link>https://trac.webkit.org/timeline</link>
- <description>Trac Timeline</description>
- <language>en-US</language>
- <generator>Trac 0.12.3</generator>
- <image>
- <title>WebKit</title>
- <url>https://trac.webkit.org/chrome/site/favicon.png</url>
- <link>https://trac.webkit.org/timeline</link>
- </image>
- <item>
- <title>Changeset [33025]: Ita prorsus inquam Ad corpus diceres pertinere, sed ea, quae dixi</title>
- <branches>master, someOtherBranch</branches>
-
- <author>george@webkit.org</author>
-
- <pubDate>Tue, 26 Jan 2016 22:48:15 GMT</pubDate>
- <link>https://trac.webkit.org/changeset/33025</link>
- <guid isPermaLink="false">https://trac.webkit.org/changeset/33025/1453848495332569</guid>
- <description>Description</description>
- <category>changeset</category>
- </item>
- <item>
- <title>Changeset [33024]: An eum discere ea mavis, quae cum plane perdidiceriti nihil sciat</title>
- <branches>master</branches>
-
- <author>paul@webkit.org</author>
-
- <pubDate>Tue, 26 Jan 2016 22:22:25 GMT</pubDate>
- <link>https://trac.webkit.org/changeset/33024</link>
- <guid isPermaLink="false">https://trac.webkit.org/changeset/33024/1453846945244007</guid>
- <description>Description</description>
- <category>changeset</category>
- </item>
- <item>
- <title>Changeset [33023]: Lorem ipsum dolor sit amet, consectetur adipiscing elit.</title>
-
- <author>john@webkit.org</author>
-
- <pubDate>Tue, 26 Jan 2016 22:22:14 GMT</pubDate>
- <link>https://trac.webkit.org/changeset/33023</link>
- <guid isPermaLink="false">https://trac.webkit.org/changeset/33023/1453846934034550</guid>
- <description>Description</description>
- <category>changeset</category>
- </item>
- </channel>
-</rss>
</del></span></pre></div>
<a id="trunkToolsBuildSlaveSupportbuildwebkitorgconfigpublic_htmldashboardScriptsteststestfixturetracrssxml"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/test-fixture-trac-rss.xml (199179 => 199180)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/test-fixture-trac-rss.xml        2016-04-07 21:01:42 UTC (rev 199179)
+++ trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/test-fixture-trac-rss.xml        2016-04-07 21:08:40 UTC (rev 199180)
</span><span class="lines">@@ -1,71 +0,0 @@
</span><del>-<?xml version="1.0"?>
-<!--
-Copyright (C) 2016 Apple, Inc. All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions
-are met:
-1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
-THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
-THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
-BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
-THE POSSIBILITY OF SUCH DAMAGE.
--->
-
-<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
- <channel>
- <title>WebKit</title>
- <link>https://trac.webkit.org/timeline</link>
- <description>Trac Timeline</description>
- <language>en-US</language>
- <generator>Trac 0.12.3</generator>
- <image>
- <title>WebKit</title>
- <url>https://trac.webkit.org/chrome/site/favicon.png</url>
- <link>https://trac.webkit.org/timeline</link>
- </image>
- <item>
- <title>Changeset [33025]: Ita prorsus inquam Ad corpus diceres pertinere, sed ea, quae dixi</title>
-
- <author>george@webkit.org</author>
-
- <pubDate>Tue, 26 Jan 2016 22:48:15 GMT</pubDate>
- <link>https://trac.webkit.org/changeset/33025</link>
- <guid isPermaLink="false">https://trac.webkit.org/changeset/33025/1453848495332569</guid>
- <description>Description</description>
- <category>changeset</category>
- </item><item>
- <title>Changeset [33024]: An eum discere ea mavis, quae cum plane perdidiceriti nihil sciat</title>
-
- <author>paul@webkit.org</author>
-
- <pubDate>Tue, 26 Jan 2016 22:22:25 GMT</pubDate>
- <link>https://trac.webkit.org/changeset/33024</link>
- <guid isPermaLink="false">https://trac.webkit.org/changeset/33024/1453846945244007</guid>
- <description>Description</description>
- <category>changeset</category>
- </item><item>
- <title>Changeset [33023]: Lorem ipsum dolor sit amet, consectetur adipiscing elit.</title>
-
- <author>john@webkit.org</author>
-
- <pubDate>Tue, 26 Jan 2016 22:22:14 GMT</pubDate>
- <link>https://trac.webkit.org/changeset/33023</link>
- <guid isPermaLink="false">https://trac.webkit.org/changeset/33023/1453846934034550</guid>
- <description>Description</description>
- <category>changeset</category>
- </item>
- </channel>
-</rss>
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkToolsBuildSlaveSupportbuildwebkitorgconfigpublic_htmldashboardScriptsteststestsjs"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js (199179 => 199180)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js        2016-04-07 21:01:42 UTC (rev 199179)
+++ trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js        2016-04-07 21:08:40 UTC (rev 199180)
</span><span class="lines">@@ -1,343 +0,0 @@
</span><del>-/*
- * Copyright (C) 2016 Apple, Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-module("Trac", {
- setup: function() {
- this.trac = new MockTrac();
- }
-});
-
-test("_loaded", function()
-{
- this.trac.recordedCommits = MockTrac.EXAMPLE_TRAC_COMMITS;
- var client = new XMLHttpRequest();
- client.open('GET', 'test-fixture-trac-rss.xml', false);
- client.onload = function () {
- this.trac._loaded(client.responseXML);
- }.bind(this);
- client.send();
- var commits = this.trac.recordedCommits;
- strictEqual(commits.length, 8, "should have 8 commits");
- for (var i = 1; i < commits.length; i++) {
- var firstRevision = commits[i - 1].revisionNumber;
- var secondRevision = commits[i].revisionNumber;
- strictEqual(secondRevision - firstRevision, 1, "commits should be in order " + firstRevision + ", " + secondRevision);
- }
-});
-
-test("parse gitBranches", function()
-{
- var client = new XMLHttpRequest();
- client.open("GET", "test-fixture-git-trac-rss.xml", false);
- client.onload = function () {
- this.trac._loaded(client.responseXML);
- }.bind(this);
- client.send();
- var commits = this.trac.recordedCommits;
- strictEqual(commits.length, 3, "should have 3 commits");
- strictEqual(commits[0].branches.length, 0, "should have no branches");
- strictEqual(commits[1].branches.length, 1, "should have one branch");
- strictEqual(commits[1].branches.includes("master"), true, "should contain branch master");
- strictEqual(commits[2].branches.length, 2, "should have two branches");
- strictEqual(commits[2].branches.includes("master"), true, "should contain branch master");
- strictEqual(commits[2].branches.includes("someOtherBranch"), true, "should contain branch someOtherBranch");
-});
-
-test("_parseRevisionFromURL", function()
-{
- strictEqual(this.trac._parseRevisionFromURL("https://trac.webkit.org/changeset/190497"), "190497", "Subversion");
- strictEqual(this.trac._parseRevisionFromURL("http://trac.foobar.com/repository/changeset/75388/project"), "75388", "Subversion with suffix");
- strictEqual(this.trac._parseRevisionFromURL("https://git.foobar.com/trac/Whatever.git/changeset/0e498db5d8e5b5a342631"), "0e498db5d8e5b5a342631", "Git");
-});
-
-test("nextRevision", function()
-{
- this.trac.recordedCommits = MockTrac.EXAMPLE_TRAC_COMMITS;
- strictEqual(this.trac.nextRevision("trunk", "33020"), "33022", "nextRevision same branch");
- strictEqual(this.trac.nextRevision("trunk", "33019"), "33020", "nextRevision different branch");
-});
-
-test("indexOfRevision", function()
-{
- this.trac.recordedCommits = MockTrac.EXAMPLE_TRAC_COMMITS;
- strictEqual(this.trac.indexOfRevision("33020"), 2, "indexOfRevision");
-});
-
-test("commitsOnBranchLaterThanRevision", function()
-{
- this.trac.recordedCommits = MockTrac.EXAMPLE_TRAC_COMMITS;
- var commits = this.trac.commitsOnBranchLaterThanRevision("trunk", "33020");
- equal(commits.length, 1, "greater than 33020");
-});
-
-test("commitsOnBranchLaterThanRevision no commits", function()
-{
- this.trac.recordedCommits = MockTrac.EXAMPLE_TRAC_COMMITS;
- var commits = this.trac.commitsOnBranchLaterThanRevision("someOtherBranch", "33021");
- equal(commits.length, 0, "greater than 33021");
-});
-
-test("commitsOnBranchInRevisionRange", function()
-{
- this.trac.recordedCommits = MockTrac.EXAMPLE_TRAC_COMMITS;
- var commits = this.trac.commitsOnBranchInRevisionRange("trunk", "33020", "33022");
- equal(commits.length, 2, "in range 33020, 33022");
-});
-
-module("BuildBotQueueView", {
- setup: function() {
- this.trac = new MockTrac();
- this.trac.recordedCommits = MockTrac.EXAMPLE_TRAC_COMMITS;
- this.queue = new MockBuildbotQueue();
- this.trunkBranch = {
- name: "trunk",
- repository: {
- name: "openSource",
- trac: this.trac,
- isSVN: true,
- }
- };
- this.queue.branches = [this.trunkBranch];
- this.view = new MockBuildbotQueueView([this.queue]);
- }
-});
-
-var settings = new Settings;
-test("_appendPendingRevisionCount", function()
-{
- this.view._appendPendingRevisionCount(this.queue);
- var revisionsBehind = this.view.element.getElementsByClassName("message")[0].innerHTML.match(/.*(\d+) revision(|s) behind/)[1];
- strictEqual(revisionsBehind, "1", "assert revisions behind");
-});
-
-test("_popoverLinesForCommitRange", function()
-{
- var lines = this.view._popoverLinesForCommitRange(this.trac, this.trunkBranch, "33018", "33020");
- strictEqual(lines.length, 2, "has 2 lines");
-});
-
-test("_presentPopoverForPendingCommits", function()
-{
- var element = document.createElement("div");
- var popover = new Dashboard.Popover();
- this.view._presentPopoverForPendingCommits(element, popover, this.queue);
- var nodeList = popover._element.getElementsByClassName("pending-commit");
- strictEqual(nodeList.length, 1, "has 1 pending commit");
-});
-
-test("_presentPopoverForPendingCommits no pending commits", function()
-{
- this.someOtherBranch = {
- name: "someOtherBranch",
- repository: {
- name: "openSource",
- trac: this.trac,
- isSVN: true,
- }
- };
- this.queue.branches = [this.someOtherBranch];
- this.view._latestProductiveIteration = function(queue)
- {
- var iteration = {
- revision: { "openSource": "33021" },
- };
- return iteration;
- }
- var element = document.createElement("div");
- var popover = new Dashboard.Popover();
- this.view._presentPopoverForPendingCommits(element, popover, this.queue);
- var nodeList = popover._element.getElementsByClassName("pending-commit");
- strictEqual(nodeList.length, 0, "has 0 pending commits");
-});
-
-test("_presentPopoverForRevisionRange", function()
-{
- var element = document.createElement("div");
- var popover = new Dashboard.Popover();
- var context = {
- trac: this.trac,
- branch: this.trunkBranch,
- firstRevision: "33018",
- lastRevision: "33020"
- };
- this.view._presentPopoverForRevisionRange(element, popover, context);
- var nodeList = popover._element.getElementsByClassName("pending-commit");
- strictEqual(nodeList.length, 2, "has 2 commits");
-});
-
-test("_presentPopoverForRevisionRange no commits", function()
-{
- var element = document.createElement("div");
- var popover = new Dashboard.Popover();
- var context = {
- trac: this.trac,
- branch: this.trunkBranch,
- firstRevision: "33020",
- lastRevision: "33018"
- };
- this.view._presentPopoverForRevisionRange(element, popover, context);
- var nodeList = popover._element.getElementsByClassName("pending-commit");
- strictEqual(nodeList.length, 0, "has 0 commits");
-});
-
-test("_revisionContentWithPopoverForIteration", function()
-{
- var finished = false;
- var iteration = new BuildbotIteration(this.queue, 1, finished);
- iteration.revision = { "openSource": "33018" };
- var previousIteration = null;
- var content = this.view._revisionContentWithPopoverForIteration(iteration, previousIteration, this.trunkBranch);
- strictEqual(content.innerHTML, "r33018", "should have correct revision number.");
- strictEqual(content.classList.contains("revision-number"), true, "should have class 'revision-number'.");
- strictEqual(content.classList.contains("popover-tracking"), false, "should not have class 'popover-tracking'.");
-});
-
-test("_revisionContentWithPopoverForIteration has previousIteration", function()
-{
- var finished = false;
- var iteration = new BuildbotIteration(this.queue, 2, finished);
- iteration.revision = { "openSource": "33022" };
- var previousIteration = new BuildbotIteration(this.queue, 1, finished);
- previousIteration.revision = { "openSource": "33018" };
- var content = this.view._revisionContentWithPopoverForIteration(iteration, previousIteration, this.trunkBranch);
- strictEqual(content.innerHTML, "r33022", "should have correct revision number.");
- strictEqual(content.classList.contains("revision-number"), true, "should have class 'revision-number'.");
- strictEqual(content.classList.contains("popover-tracking"), true, "should have class 'popover-tracking'.");
- var element = document.createElement("div");
- var popover = new Dashboard.Popover();
- this.view._presentPopoverForRevisionRange(element, popover, content.popoverTracker._context);
- var nodeList = popover._element.getElementsByClassName("pending-commit");
- strictEqual(nodeList.length, 2, "has 2 commits");
-});
-
-test("_formatRevisionForDisplay Subversion", function()
-{
- var repository = this.trunkBranch.repository;
- repository.isSVN = true;
- repository.isGit = false;
- strictEqual(this.view._formatRevisionForDisplay("33018", repository), "r33018", "Should be r33018")
-});
-
-test("_formatRevisionForDisplay Git", function()
-{
- var repository = this.trunkBranch.repository;
- repository.isSVN = false;
- repository.isGit = true;
- strictEqual(this.view._formatRevisionForDisplay("0e498db5d8e5b5a342631", repository), "0e498db", "Should be 0e498db");
-});
-
-module("BuildBotQueue", {
- setup: function() {
- Dashboard.Repository.OpenSource.trac = new MockTrac();
- Dashboard.Repository.OpenSource.trac.recordedCommits = MockTrac.EXAMPLE_TRAC_COMMITS;
- this.queue = new MockBuildbotQueue();
- this.queue.branches = [{
- name: "trunk",
- repository: Dashboard.Repository.Opensource
- }];
- }
-});
-
-test("compareIterations by revisions", function()
-{
- var finished = false;
- var iteration1 = new BuildbotIteration(this.queue, 1, finished);
- var iteration2 = new BuildbotIteration(this.queue, 2, finished);
- iteration1.revision = { "openSource": "33018" };
- iteration2.revision = { "openSource": "33019" };
- iteration1.loaded = true;
- iteration2.loaded = true;
- ok(this.queue.compareIterations(iteration2, iteration1) < 0, "compareIterations: less than");
- ok(this.queue.compareIterations(iteration1, iteration2) > 0, "compareIterations: greater than");
- strictEqual(this.queue.compareIterations(iteration2, iteration2), 0, "compareIterations: equal");
-});
-
-test("compareIterations by loaded (one revision missing)", function()
-{
- var finished = false;
- var iteration1 = new BuildbotIteration(this.queue, 1, finished);
- var iteration2 = new BuildbotIteration(this.queue, 2, finished);
- iteration1.revision = {};
- iteration2.revision = { "openSource": "33019" };
- iteration1.loaded = false;
- iteration2.loaded = true;
- ok(this.queue.compareIterations(iteration1, iteration2) > 0, "compareIterations: greater than");
- ok(this.queue.compareIterations(iteration2, iteration1) < 0, "compareIterations: less than");
-});
-
-test("compareIterations by loaded (same revision)", function()
-{
- var finished = false;
- var iteration1 = new BuildbotIteration(this.queue, 1, finished);
- var iteration2 = new BuildbotIteration(this.queue, 2, finished);
- iteration1.revision = { "openSource": "33019" };
- iteration2.revision = { "openSource": "33019" };
- iteration1.loaded = false;
- iteration2.loaded = true;
- ok(this.queue.compareIterations(iteration1, iteration2) > 0, "compareIterations: greater than");
- ok(this.queue.compareIterations(iteration2, iteration1) < 0, "compareIterations: less than");
-});
-
-test("compareIterations by id (revisions not specified)", function()
-{
- var finished = false;
- var iteration1 = new BuildbotIteration(this.queue, 1, finished);
- var iteration2 = new BuildbotIteration(this.queue, 2, finished);
- iteration1.revision = {};
- iteration2.revision = {};
- iteration1.loaded = false;
- iteration2.loaded = false;
- ok(this.queue.compareIterations(iteration2, iteration1) < 0, "compareIterations: less than");
- ok(this.queue.compareIterations(iteration1, iteration2) > 0, "compareIterations: greater than");
- strictEqual(this.queue.compareIterations(iteration2, iteration2), 0, "compareIterations: equal");
-});
-
-test("compareIterations by id (same revision)", function()
-{
- var finished = false;
- var iteration1 = new BuildbotIteration(this.queue, 1, finished);
- var iteration2 = new BuildbotIteration(this.queue, 2, finished);
- iteration1.revision = { "openSource": "33019" };
- iteration2.revision = { "openSource": "33019" };
- iteration1.loaded = false;
- iteration2.loaded = false;
- ok(this.queue.compareIterations(iteration2, iteration1) < 0, "compareIterations: less than");
- ok(this.queue.compareIterations(iteration1, iteration2) > 0, "compareIterations: greater than");
- strictEqual(this.queue.compareIterations(iteration2, iteration2), 0, "compareIterations: equal");
-});
-
-test("compareIterationsByRevisions", function()
-{
- var finished = false;
- var iteration1 = new BuildbotIteration(this.queue, 1, finished);
- var iteration2 = new BuildbotIteration(this.queue, 2, finished);
- iteration1.revision = { "openSource": "33018" };
- iteration2.revision = { "openSource": "33019" };
- iteration1.loaded = true;
- iteration2.loaded = false;
- ok(this.queue.compareIterationsByRevisions(iteration2, iteration1) < 0, "compareIterationsByRevisions: less than");
- ok(this.queue.compareIterationsByRevisions(iteration1, iteration2) > 0, "compareIterationsByRevisions: greater than");
- strictEqual(this.queue.compareIterationsByRevisions(iteration2, iteration2), 0, "compareIterationsByRevisions: equal");
-});
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkToolsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Tools/ChangeLog (199179 => 199180)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/ChangeLog        2016-04-07 21:01:42 UTC (rev 199179)
+++ trunk/Tools/ChangeLog        2016-04-07 21:08:40 UTC (rev 199180)
</span><span class="lines">@@ -1,3 +1,38 @@
</span><ins>+2016-04-07 Jason Marcell <jmarcell@apple.com>
+
+ Adding layout tests for the bot watcher's dashboard QUnit tests.
+ https://bugs.webkit.org/show_bug.cgi?id=155272
+
+ Reviewed by Daniel Bates.
+
+ Moved supporting resources into a resources folder and updated index.html accordingly
+ to point to the new locations. Added code to tests.js to dumpAsText when QUnit is done.
+
+ * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/index-expected.txt: Added.
+ * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/index.html: Updated to point to tests.js and Mock files in resources directory.
+ * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbotQueue.js: Renamed from
+ Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockBuildbotQueue.js.
+ (MockBuildbotQueue):
+ * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbotQueueView.js: Renamed from
+ Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockBuildbotQueueView.js.
+ (MockBuildbotQueueView):
+ (MockBuildbotQueueView.prototype._latestProductiveIteration):
+ * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockTrac.js: Renamed from
+ Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockTrac.js.
+ (MockTrac):
+ (MockTrac.prototype.get oldestRecordedRevisionNumber):
+ (MockTrac.prototype.get latestRecordedRevisionNumber):
+ (MockTrac.prototype.loadMoreHistoricalData):
+ * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/test-fixture-git-trac-rss.xml: Renamed from
+ Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/test-fixture-git-trac-rss.xml.
+ * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/test-fixture-trac-rss.xml: Renamed from
+ Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/test-fixture-trac-rss.xml.
+ * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/tests.js: Renamed from
+ Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js.
+ Updated the unit tests for Trac._loaded() to point to the XML files that are now located in the 'resources' directory.
+ (QUnit.done): Added. Removes machine-specific output from test results and calls testRunner.notifyDone to let the layout test harness know that all testing is done.
+ * Scripts/run-dashboard-tests: Added.
+
</ins><span class="cx"> 2016-04-06 ChangSeok Oh <changseok@webkit.org>
</span><span class="cx">
</span><span class="cx"> Unreviewed, Update my primary email address and expertise.
</span></span></pre></div>
<a id="trunkToolsScriptsrundashboardtests"></a>
<div class="addfile"><h4>Added: trunk/Tools/Scripts/run-dashboard-tests (0 => 199180)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/Scripts/run-dashboard-tests         (rev 0)
+++ trunk/Tools/Scripts/run-dashboard-tests        2016-04-07 21:08:40 UTC (rev 199180)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+#!/bin/sh
+
+# Copyright (C) 2016 Apple Inc. All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+#
+# THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+# OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+TOOLS_DIRECTORY="$(dirname $0)"
+RUN_WEBKIT_TESTS="$TOOLS_DIRECTORY/run-webkit-tests"
+TEST_DIRECTORY="$TOOLS_DIRECTORY/../BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests"
+
+$RUN_WEBKIT_TESTS --layout-tests-directory=$TEST_DIRECTORY "$@"
</ins><span class="cx">Property changes on: trunk/Tools/Scripts/run-dashboard-tests
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
</div>
</body>
</html>