Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(288)

Unified Diff: tracing/tracing/base/unittest/interactive_test_runner.html

Issue 1433123002: Ensure javascript tests are run "backlog style", most recent to oldest. (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: REALLY answered Nat. Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tracing/tracing/base/unittest/html_test_results.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/base/unittest/interactive_test_runner.html
diff --git a/tracing/tracing/base/unittest/interactive_test_runner.html b/tracing/tracing/base/unittest/interactive_test_runner.html
index 818174fe329ff90d6068e3a070e5078f4e6d5fda..41c247af7ed4d1c3447a0b218124e3347bda749f 100644
--- a/tracing/tracing/base/unittest/interactive_test_runner.html
+++ b/tracing/tracing/base/unittest/interactive_test_runner.html
@@ -405,6 +405,10 @@ tr.exportTo('tr.b.unittest', function() {
return true;
}, this);
+ // Reverse the tests array to keep them in alphabetical order since
+ // TestRunner displays them last-to-first.
+ tests.reverse();
+
this.runner_ = new tr.b.unittest.TestRunner(this.results_, tests);
this.runner_.beginRunning();
« no previous file with comments | « tracing/tracing/base/unittest/html_test_results.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698