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

Unified Diff: Tools/GardeningServer/scripts/ui_unittests.js

Issue 418253002: Expose the chromium waterfall in sheriff-o-matic. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: merge to ToT Created 6 years, 5 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
« no previous file with comments | « Tools/GardeningServer/scripts/ui.js ('k') | Tools/GardeningServer/ui/ct-commit.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/GardeningServer/scripts/ui_unittests.js
diff --git a/Tools/GardeningServer/scripts/ui_unittests.js b/Tools/GardeningServer/scripts/ui_unittests.js
index c9b361896877819022042aa77bae4a609ede05f2..547a035eb4f3dc425f4e7f5347b527821d96b32c 100644
--- a/Tools/GardeningServer/scripts/ui_unittests.js
+++ b/Tools/GardeningServer/scripts/ui_unittests.js
@@ -29,20 +29,22 @@ module("ui");
var flakinessBaseUrl = 'http://test-results.appspot.com/dashboards/flakiness_dashboard.html#';
-test('urlForFlakinessDashboard', 4, function() {
- equal(ui.urlForFlakinessDashboard('foo', 'bar'),
- flakinessBaseUrl + 'tests=foo&testType=bar');
- equal(ui.urlForFlakinessDashboard(['foo', 'baz'], 'bar'),
- flakinessBaseUrl + 'tests=foo%2Cbaz&testType=bar');
- equal(ui.urlForFlakinessDashboard('foo', 'webkit_tests'),
- flakinessBaseUrl + 'tests=foo&testType=layout-tests');
- equal(ui.urlForFlakinessDashboard('foo', 'layout-tests'),
- flakinessBaseUrl + 'tests=foo&testType=layout-tests');
+test('urlForFlakinessDashboard', 5, function() {
+ equal(ui.urlForFlakinessDashboard('foo', 'bar', 'blink'),
+ flakinessBaseUrl + 'group=@ToT%20Blink&tests=foo&testType=bar');
+ equal(ui.urlForFlakinessDashboard('foo', 'bar', 'chromium'),
+ flakinessBaseUrl + 'group=@ToT%20Chromium&tests=foo&testType=bar');
+ equal(ui.urlForFlakinessDashboard(['foo', 'baz'], 'bar', 'blink'),
+ flakinessBaseUrl + 'group=@ToT%20Blink&tests=foo%2Cbaz&testType=bar');
+ equal(ui.urlForFlakinessDashboard('foo', 'webkit_tests', 'blink'),
+ flakinessBaseUrl + 'group=@ToT%20Blink&tests=foo&testType=layout-tests');
+ equal(ui.urlForFlakinessDashboard('foo', 'layout-tests', 'blink'),
+ flakinessBaseUrl + 'group=@ToT%20Blink&tests=foo&testType=layout-tests');
});
test('urlForEmbeddedFlakinessDashboard', 1, function() {
- equal(ui.urlForEmbeddedFlakinessDashboard('foo', 'bar'),
- flakinessBaseUrl + 'tests=foo&testType=bar&showChrome=false');
+ equal(ui.urlForEmbeddedFlakinessDashboard('foo', 'bar', 'blink'),
+ flakinessBaseUrl + 'group=@ToT%20Blink&tests=foo&testType=bar&showChrome=false');
});
})();
« no previous file with comments | « Tools/GardeningServer/scripts/ui.js ('k') | Tools/GardeningServer/ui/ct-commit.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698