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

Unified Diff: Tools/GardeningServer/ui/test/ct-failure-stream-tests.html

Issue 498523002: [Sheriff-o-matic] Use likely_revisions instead of first_failing/last_passing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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: Tools/GardeningServer/ui/test/ct-failure-stream-tests.html
diff --git a/Tools/GardeningServer/ui/test/ct-failure-stream-tests.html b/Tools/GardeningServer/ui/test/ct-failure-stream-tests.html
index a34aefe321b1d2009275e24ce13474ef60cac05c..638024b6a0a9b0bdfb86356a7188b76d88319969 100644
--- a/Tools/GardeningServer/ui/test/ct-failure-stream-tests.html
+++ b/Tools/GardeningServer/ui/test/ct-failure-stream-tests.html
@@ -26,7 +26,8 @@ describe('ct-failure-stream', function() {
// ct-failure-stream will give these values to ct-commit-data,
// which will hit the network unless we figure out how to mock
// out ct-commit-data in a better way.
- stream.groups = [new CTFailureGroup('a', []), new CTFailureGroup('b', [])];
+ stream.groups = [new CTFailureGroup('a', [], undefined),
+ new CTFailureGroup('b', [], undefined)];
stream.category = 'default';
setTimeout(function() {
var cards = stream.shadowRoot.querySelectorAll('ct-failure-card');
@@ -40,7 +41,9 @@ describe('ct-failure-stream', function() {
describe('category', function() {
it('should only show failure groups for the specified category', function(done) {
- stream.groups = [new CTFailureGroup('a', []), new CTFailureGroup('b', [], {snoozeTime: Date.now() + 1000 * 1000})];
+ stream.groups = [new CTFailureGroup('a', [], undefined),
+ new CTFailureGroup('b', [], undefined,
+ {snoozeTime: Date.now() + 1000 * 1000})];
stream.category = 'snoozed';
setTimeout(function() {
var cards = stream.shadowRoot.querySelectorAll('ct-failure-card');

Powered by Google App Engine
This is Rietveld 408576698