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

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

Issue 345853005: Start a top-down rewrite of Garden-O-Matic in Polymer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove stray console.log 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
OLDNEW
(Empty)
1 <!--
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
4 found in the LICENSE file.
5 -->
6
7 <polymer-element name="ct-failure-analyzer" attributes="failures status">
8 <script>
9 Polymer({
10 failures: [],
11
12 pendingFailures: [],
13
14 update: function() {
15 this.pendingFailures = [];
16 var numberOfTestsAnalyzed = 0;
17 this.status = 'Updating ...';
18 Promise.all([model.updateRecentCommits(), model.updateResultsByBuilder() ]).then(function() {
19 this.status = 'Analyzing test failures ...';
20 model.analyzeUnexpectedFailures(function(failureAnalysis, total) {
esprehn 2014/07/08 16:25:05 return model.analyzeUnexpectedFailures(...) that
21 this.status = 'Analyzing test failures ... ' + ++numberOfTestsAnalyz ed + '/' + total + ' tests analyzed.';
22 this.pendingFailures.push(failureAnalysis);
23 }.bind(this)).then(function() {
24 this.status = 'Done!!!';
25 this.failures = this.pendingFailures;
26 }.bind(this));
27 }.bind(this));
esprehn 2014/07/08 16:25:05 You drop errors on the floor which is going to mak
28 },
29 });
30 </script>
31 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698