couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r957959 - in /couchdb/branches/0.11.x/share/www: couch_tests.html script/couch_test_runner.js style/layout.css
Date Fri, 25 Jun 2010 14:13:20 GMT
Author: jan
Date: Fri Jun 25 14:13:20 2010
New Revision: 957959

URL: http://svn.apache.org/viewvc?rev=957959&view=rev
Log:
Merge r955097 from trunk:

indicate which test is running in the top of the test runner

Modified:
    couchdb/branches/0.11.x/share/www/couch_tests.html
    couchdb/branches/0.11.x/share/www/script/couch_test_runner.js
    couchdb/branches/0.11.x/share/www/style/layout.css

Modified: couchdb/branches/0.11.x/share/www/couch_tests.html
URL: http://svn.apache.org/viewvc/couchdb/branches/0.11.x/share/www/couch_tests.html?rev=957959&r1=957958&r2=957959&view=diff
==============================================================================
--- couchdb/branches/0.11.x/share/www/couch_tests.html [utf-8] (original)
+++ couchdb/branches/0.11.x/share/www/couch_tests.html [utf-8] Fri Jun 25 14:13:20 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/branches/0.11.x/share/www/script/couch_test_runner.js
URL: http://svn.apache.org/viewvc/couchdb/branches/0.11.x/share/www/script/couch_test_runner.js?rev=957959&r1=957958&r2=957959&view=diff
==============================================================================
--- couchdb/branches/0.11.x/share/www/script/couch_test_runner.js (original)
+++ couchdb/branches/0.11.x/share/www/script/couch_test_runner.js Fri Jun 25 14:13:20 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/branches/0.11.x/share/www/style/layout.css
URL: http://svn.apache.org/viewvc/couchdb/branches/0.11.x/share/www/style/layout.css?rev=957959&r1=957958&r2=957959&view=diff
==============================================================================
--- couchdb/branches/0.11.x/share/www/style/layout.css (original)
+++ couchdb/branches/0.11.x/share/www/style/layout.css Fri Jun 25 14:13:20 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;



Mime
View raw message