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

Side by Side Diff: build/android/render_tests/render_webpage.html.jinja2

Issue 2406593002: Add script to process results from Android render tests. (Closed)
Patch Set: Created 4 years, 2 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
OLDNEW
(Empty)
1 <html>
2 <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material +Icons">
3 <link rel="stylesheet" href="https://code.getmdl.io/1.2.1/material.indigo-pink .min.css">
4 <script defer src="https://code.getmdl.io/1.2.1/material.min.js"></script>
5
6 {% for test_class, device_results in full_results.iteritems() %}
7 <div class="mdl-color--white mdl-shadow--1dp mdl-color-text--grey-800 mdl-ce ll">
8 <h3>{{ test_class }}</h3>
9 </div>
10
11 {% for device_model, test_results in device_results.iteritems() %}
12 <table class="mdl-data-table mdl-js-data-table" width="100%" align="center ">
13 <thead>
14 <tr>
15 <th class="mdl-data-table__cell--non-numeric">Device Model</th>
16 <th class="mdl-data-table__cell--non-numeric">Description</th>
17 <th class="mdl-data-table__cell--non-numeric">Golden</th>
18 <th class="mdl-data-table__cell--non-numeric">Failure</th>
19 <th class="mdl-data-table__cell--non-numeric">Diff</th>
20 </tr>
21 </thead>
22 <tbody>
23 {% for result in test_results %}
24 <tr>
25 <td class="mdl-data-table__cell--non-numeric">{{ device_model }}</ td>
26 <td class="mdl-data-table__cell--non-numeric">{{ result['descripti on'] }}</td>
27 <td><img src="{{ result['golden_image'] }}" width="100%"></td>
28 <td><img src="{{ result['failure_image'] }}" width="100%"></td>
29 <td><img src="{{ result['diff_image'] }}" width="100%"></td>
30 </tr>
31 {% endfor %}
32 </tbody>
33 </table>
34 {% endfor %}
35 {% endfor %}
36 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698