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

Unified Diff: dashboard/dashboard/elements/speed-releasing-table-test.html

Issue 2657043002: Handles default revision ranges. (Closed)
Patch Set: Fixing minor bug Created 3 years, 10 months 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
Index: dashboard/dashboard/elements/speed-releasing-table-test.html
diff --git a/dashboard/dashboard/elements/speed-releasing-table-test.html b/dashboard/dashboard/elements/speed-releasing-table-test.html
index 3cfc1311d3ecd8c4aca92822a35eba492db521e3..3da9669bd451be3b23992b53fbbbfb3fc4f77432 100644
--- a/dashboard/dashboard/elements/speed-releasing-table-test.html
+++ b/dashboard/dashboard/elements/speed-releasing-table-test.html
@@ -88,7 +88,8 @@ tr.b.unittest.testSuite(function() {
'background': 2
};
- var revisions = [123, 456];
+ var revisions = [456, 123];
+ var displayRevisions = ['456-b', '123-a'];
test('instantiation', function() {
var mockResponse = {
@@ -101,6 +102,7 @@ tr.b.unittest.testSuite(function() {
'units': unitMap,
'revisions': revisions,
'categories': categories,
+ 'display_revisions': displayRevisions,
};
testing_common.addXhrMock('/speed_releasing/undefined?=',
JSON.stringify(mockResponse));

Powered by Google App Engine
This is Rietveld 408576698