OLD | NEW |
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-builder-grid.html"> | 7 <link rel="import" href="ct-builder-grid.html"> |
8 <link rel="import" href="ct-commit-list.html"> | 8 <link rel="import" href="ct-commit-list.html"> |
9 <link rel="import" href="ct-test-list.html"> | 9 <link rel="import" href="ct-test-list.html"> |
10 | 10 |
(...skipping 20 matching lines...) Expand all Loading... |
31 </div> | 31 </div> |
32 <div> | 32 <div> |
33 <paper-button id="examine" on-tap="{{examine}}">Examine</paper-button> | 33 <paper-button id="examine" on-tap="{{examine}}">Examine</paper-button> |
34 </div> | 34 </div> |
35 </template> | 35 </template> |
36 <script> | 36 <script> |
37 Polymer({ | 37 Polymer({ |
38 failures: [], | 38 failures: [], |
39 | 39 |
40 testNames: function(failures) { | 40 testNames: function(failures) { |
41 return failures.map(function(failureAnalysis) { return failureAnalysis.t
estName }); | 41 return failures.map(function(failureAnalysis) { return failureAnalysis.t
estName }).sort(); |
42 }, | 42 }, |
43 | 43 |
44 examine: function() { | 44 examine: function() { |
45 this.fire('ct-examine-failures', this.failures); | 45 this.fire('ct-examine-failures', this.failures); |
46 }, | 46 }, |
47 }); | 47 }); |
48 </script> | 48 </script> |
49 </polymer-element> | 49 </polymer-element> |
OLD | NEW |