You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by jc...@apache.org on 2010/06/16 02:07:26 UTC
svn commit: r955097 - in /couchdb/trunk/share/www: couch_tests.html
script/couch_test_runner.js style/layout.css
Author: jchris
Date: Wed Jun 16 00:07:25 2010
New Revision: 955097
URL: http://svn.apache.org/viewvc?rev=955097&view=rev
Log:
indicate which test is running in the top of the test runner
Modified:
couchdb/trunk/share/www/couch_tests.html
couchdb/trunk/share/www/script/couch_test_runner.js
couchdb/trunk/share/www/style/layout.css
Modified: couchdb/trunk/share/www/couch_tests.html
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/couch_tests.html?rev=955097&r1=955096&r2=955097&view=diff
==============================================================================
--- couchdb/trunk/share/www/couch_tests.html [utf-8] (original)
+++ couchdb/trunk/share/www/couch_tests.html [utf-8] Wed Jun 16 00:07:25 2010
@@ -62,6 +62,7 @@ specific language governing permissions
<li><button class="load">Reload</button></li>
<li><button class="share">Share Test Reports</button></li>
<li><button class="add">Custom Test</button></li>
+ <li class="current"></li>
</ul>
<p class="help">
<strong>Note:</strong> Each of the tests will block the browser. If the
Modified: couchdb/trunk/share/www/script/couch_test_runner.js
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/script/couch_test_runner.js?rev=955097&r1=955096&r2=955097&view=diff
==============================================================================
--- couchdb/trunk/share/www/script/couch_test_runner.js (original)
+++ couchdb/trunk/share/www/script/couch_test_runner.js Wed Jun 16 00:07:25 2010
@@ -72,6 +72,7 @@ function runTest(button, callback, debug
var row = currentRow = $(button).parents("tr").get(0);
$("td.status", row).removeClass("error").removeClass("failure").removeClass("success");
$("td", row).text("");
+ $("#toolbar li.current").text("Running: "+row.id);
var testFun = couchTests[row.id];
function run() {
numFailures = 0;
@@ -103,6 +104,7 @@ function runTest(button, callback, debug
var duration = new Date().getTime() - start;
$("td.status", row).removeClass("running").addClass(status).text(status);
$("td.duration", row).text(duration + "ms");
+ $("#toolbar li.current").text("Finished: "+row.id);
updateTestsFooter();
currentRow = null;
if (callback) callback();
Modified: couchdb/trunk/share/www/style/layout.css
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/style/layout.css?rev=955097&r1=955096&r2=955097&view=diff
==============================================================================
--- couchdb/trunk/share/www/style/layout.css (original)
+++ couchdb/trunk/share/www/style/layout.css Wed Jun 16 00:07:25 2010
@@ -229,6 +229,7 @@ body.fullwidth #wrap { margin-right: 0;
margin: 0 0 .5em; padding: 5px 5px 5px 3px;
}
#toolbar li { display: inline; }
+#toolbar li.current {float:right;}
#toolbar button { background: transparent 2px 2px no-repeat; border: none;
color: #666; margin: 0; padding: 2px 1em 2px 22px; cursor: pointer;
font-size: 95%; line-height: 16px;