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

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

Issue 416673003: Show non-webkit test failures in the failure stream (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: address review comments Created 6 years, 4 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-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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 .failure { 50 .failure {
51 flex: 1; 51 flex: 1;
52 } 52 }
53 53
54 #examine { 54 #examine {
55 align-self: flex-start; 55 align-self: flex-start;
56 } 56 }
57 </style> 57 </style>
58 <ct-builder-grid failures="{{failures}}"></ct-builder-grid> 58 <ct-builder-grid failures="{{failures}}"></ct-builder-grid>
59 <div class="failure"> 59 <div class="failure">
60 <ct-test-list tests="{{failures|testNames}}"></ct-test-list> 60 <ct-test-list tests="{{failures}}"></ct-test-list>
61 <ct-commit-list first="{{failures[0].newestPassingRevision + 1}}" 61 <ct-commit-list first="{{failures[0].newestPassingRevision + 1}}"
62 last="{{failures[0].oldestFailingRevision}}" 62 last="{{failures[0].oldestFailingRevision}}"
63 commits="{{commits}}"></ct-commit-list> 63 commits="{{commits}}"></ct-commit-list>
64 </div> 64 </div>
65 <paper-button id="examine" on-tap="{{examine}}">Examine</paper-button> 65 <paper-button id="examine" on-tap="{{examine}}">Examine</paper-button>
66 </template> 66 </template>
67 <script> 67 <script>
68 Polymer({ 68 Polymer({
69 failures: [], 69 failures: [],
70 commits: {}, 70 commits: {},
71 71
72 testNames: function(failures) {
73 return failures.map(function(failureAnalysis) { return failureAnalysis.t estName }).sort();
74 },
75
76 examine: function() { 72 examine: function() {
77 this.fire('ct-examine-failures', this.failures); 73 this.fire('ct-examine-failures', this.failures);
78 }, 74 },
79 }); 75 });
80 </script> 76 </script>
81 </polymer-element> 77 </polymer-element>
OLDNEW
« no previous file with comments | « Tools/GardeningServer/ui/ct-failure-analyzer-tests.html ('k') | Tools/GardeningServer/ui/ct-failure-card-tests.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698