| 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..28d22f041fc56ed5b261996fc092878f56e9c05a
|
| --- /dev/null
|
| +++ b/Tools/GardeningServer/model/ct-builder-failure-group-data.html
|
| @@ -0,0 +1,27 @@
|
| +<!--
|
| +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()];
|
| +};
|
| +
|
| +// FIXME: This function should be replaced and callers should just pass the original object.
|
| +CTBuilderFailureGroupData.prototype.dataToExamine = function() {
|
| + return {url: this.url};
|
| +};
|
| +
|
| +CTBuilderFailureGroupData.prototype.failureKeys = function() {
|
| + return [this.failure.keys()];
|
| +};
|
| +</script>
|
|
|