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

Side by Side Diff: Tools/GardeningServer/ui/ct-revision-details-tests.html

Issue 459463003: Convert moar Sheriff-o-Matic tests to Polymer. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: forgot to add lib/network-simulator.html 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-revision-details.html"> 7 <link rel="import" href="ct-revision-details.html">
8 <link rel="import" href="../model/ct-builder-revisions-mock.html"> 8 <link rel="import" href="../model/ct-builder-revisions-mock.html">
9 <link rel="import" href="../model/ct-commit-log-mock.html">
9 10
10 <script> 11 <script>
11 (function() { 12 (function() {
12 13
13 module("ct-revision-details"); 14 module("ct-revision-details");
14 15
15 asyncTest("empty", 2, function() { 16 asyncTest("empty", 2, function() {
16 var revisionDetails = document.createElement('ct-revision-details'); 17 var revisionDetails = document.createElement('ct-revision-details');
17 requestAnimationFrame(function() { 18 requestAnimationFrame(function() {
18 equal(revisionDetails.shadowRoot.querySelector('#fullyProcessedRevision'), n ull); 19 equal(revisionDetails.shadowRoot.querySelector('#fullyProcessedRevision'), n ull);
(...skipping 14 matching lines...) Expand all
33 revisionDetails.revisionLog = commitLog; 34 revisionDetails.revisionLog = commitLog;
34 35
35 requestAnimationFrame(function() { 36 requestAnimationFrame(function() {
36 equal(revisionDetails.shadowRoot.querySelector('#fullyProcessedRevision'). innerText, '158543'); 37 equal(revisionDetails.shadowRoot.querySelector('#fullyProcessedRevision'). innerText, '158543');
37 equal(revisionDetails.shadowRoot.querySelector('#trunkRevision').innerText , '158545'); 38 equal(revisionDetails.shadowRoot.querySelector('#trunkRevision').innerText , '158545');
38 start(); 39 start();
39 }); 40 });
40 }); 41 });
41 42
42 })() 43 })()
43 </script> 44 </script>
OLDNEW
« no previous file with comments | « Tools/GardeningServer/ui/ct-results-panel-tests.html ('k') | Tools/GardeningServer/ui/ct-test-list-tests.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698