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

Side by Side Diff: Tools/GardeningServer/model/ct-sheriff-failure-group-data.html

Issue 555263004: Add hung bots to sheriff-o-matic view (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address nits. 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!-- 1 <!--
2 Copyright 2014 The Chromium Authors. All rights reserved. 2 Copyright 2014 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. 4 found in the LICENSE file.
5 --> 5 -->
6 6
7 <link rel="import" href="ct-commit-list.html"> 7 <link rel="import" href="ct-commit-list.html">
8 8
9 <script> 9 <script>
10 function CTSheriffFailureGroupData(failures, commitList) { 10 function CTSheriffFailureGroupData(failures, commitList) {
11 this.failures = failures; 11 this.failures = failures;
12 this.commitList = commitList; 12 this.commitList = commitList;
13 this.type = 'sheriff'; 13 this.category = 'sheriff';
14 }; 14 };
15 15
16 CTSheriffFailureGroupData.prototype.getAnnotations = function() { 16 CTSheriffFailureGroupData.prototype.getAnnotations = function() {
17 return this.failures.map(function(failure) { 17 return this.failures.map(function(failure) {
18 return failure.annotations(); 18 return failure.annotations();
19 }).flatten(); 19 }).flatten();
20 }; 20 };
21 21
22 CTSheriffFailureGroupData.prototype.dataToExamine = function() { 22 CTSheriffFailureGroupData.prototype.dataToExamine = function() {
23 return this.failures; 23 return this.failures;
24 }; 24 };
25 25
26 CTSheriffFailureGroupData.prototype.failureKeys = function() { 26 CTSheriffFailureGroupData.prototype.failureKeys = function() {
27 return this.failures.map(function(failure) { 27 return this.failures.map(function(failure) {
28 return failure.keys(); 28 return failure.keys();
29 }).flatten(); 29 }).flatten();
30 }; 30 };
31 </script> 31 </script>
OLDNEW
« no previous file with comments | « Tools/GardeningServer/model/ct-failures.html ('k') | Tools/GardeningServer/model/ct-trooper-failure-group-data.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698