Index: Tools/GardeningServer/model/ct-builder-failure-group-data.html |
diff --git a/Tools/GardeningServer/model/ct-builder-failure-group-data.html b/Tools/GardeningServer/model/ct-builder-failure-group-data.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c7a5a4efe922a698b855cfdb7cedbad1e3cdf61c |
--- /dev/null |
+++ b/Tools/GardeningServer/model/ct-builder-failure-group-data.html |
@@ -0,0 +1,26 @@ |
+<!-- |
+Copyright 2014 The Chromium Authors. All rights reserved. |
+Use of this source code is governed by a BSD-style license that can be |
+found in the LICENSE file. |
+--> |
+ |
+<script> |
+function CTBuilderFailureGroupData(failure, bot, url) { |
+ this.bot = bot; |
+ this.failure = failure; |
+ this.category = 'builder'; |
+ this.url = url; |
+}; |
+ |
+CTBuilderFailureGroupData.prototype.getAnnotations = function() { |
+ return [this.failure.annotations()]; |
+}; |
+ |
+CTBuilderFailureGroupData.prototype.dataToExamine = function() { |
ojan
2014/09/10 00:40:02
This needs to go. Not as part of this patch, but a
|
+ return {url: this.url}; |
+}; |
+ |
+CTBuilderFailureGroupData.prototype.failureKeys = function() { |
+ return [this.failure.keys()]; |
+}; |
+</script> |