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

Unified Diff: appengine_apps/test_results/static-dashboards/ui_unittests.js

Issue 498083002: Make flakiness dashboard links to googlesource work post git migration. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@deployable
Patch Set: move test to the right location Created 6 years, 3 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: appengine_apps/test_results/static-dashboards/ui_unittests.js
diff --git a/appengine_apps/test_results/static-dashboards/ui_unittests.js b/appengine_apps/test_results/static-dashboards/ui_unittests.js
index d70fec858fd2eb189a6247c1feb5b1de7657dae8..d9a5f01093ceae80b90a1fd2551359789ae50241 100644
--- a/appengine_apps/test_results/static-dashboards/ui_unittests.js
+++ b/appengine_apps/test_results/static-dashboards/ui_unittests.js
@@ -49,21 +49,21 @@ test('chromiumRevisionLinkOneRevision', 1, function() {
var testResults = {};
testResults[results.CHROME_REVISIONS] = [3, 2, 1];
var html = ui.html.chromiumRevisionLink(testResults, 1);
- equal(html, '<a href="http://src.chromium.org/viewvc/chrome?view=rev&revision=2">r2</a>');
+ equal(html, '<a href="https://crrev.com/2">r2</a>');
});
test('chromiumRevisionLinkAtRevision', 1, function() {
var testResults = {};
testResults[results.CHROME_REVISIONS] = [3, 2, 2];
var html = ui.html.chromiumRevisionLink(testResults, 1);
- equal(html, 'At <a href="http://src.chromium.org/viewvc/chrome?view=rev&revision=2">r2</a>');
+ equal(html, 'At <a href="https://crrev.com/2">r2</a>');
});
test('chromiumRevisionLinkRevisionRange', 1, function() {
var testResults = {};
testResults[results.CHROME_REVISIONS] = [5, 2];
var html = ui.html.chromiumRevisionLink(testResults, 0);
- equal(html, '<a href="http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog.html?url=/trunk/src&range=3:5&mode=html">r3 to r5</a>');
+ equal(html, '<a href="../../revision_range?start=2&end=5">r3 to r5</a>');
});
test('blinkRevisionLinkOneRevision', 1, function() {
« no previous file with comments | « appengine_apps/test_results/static-dashboards/ui.js ('k') | appengine_module/test_results/handlers/redirector.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698