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

Side by Side Diff: Tools/GardeningServer/ui/ct-failure-card.html

Issue 407903002: Sort the failure names in sheriff-o-matic. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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
« no previous file with comments | « no previous file | Tools/GardeningServer/ui/ct-failure-card-tests.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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-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
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>
OLDNEW
« no previous file with comments | « no previous file | Tools/GardeningServer/ui/ct-failure-card-tests.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698