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

Side by Side Diff: Tools/GardeningServer/ui/ct-commit-list-tests.html

Issue 404463003: Move commit list and builder latest revisions up to ct-unexpected-failures (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: address review comments 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 <link rel="import" href="ct-commit-list.html">
8
9 <link rel="import" href="../model/ct-commit-log-mock.html">
10
11 <script>
12 (function () {
13
14 module("ct-commit-list");
15
16 asyncTest("basic", 2, function() {
17 var list = document.createElement('ct-commit-list');
18
19 list.first = 158545;
20 list.last = 158547;
21 list.commits = new CTCommitLogMock();
22
23 Platform.endOfMicrotask(function() {
24 var commits = list.shadowRoot.querySelectorAll('ct-commit');
25 equal(commits.length, 1);
26 deepEqual(list._revisions, [158545, 158546, 158547])
27
28 start();
29 });
30 });
31
32 })()
33 </script>
OLDNEW
« no previous file with comments | « Tools/GardeningServer/ui/ct-commit-list.html ('k') | Tools/GardeningServer/ui/ct-commit-tests.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698