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

Side by Side Diff: Tools/GardeningServer/ui/ct-commit-tests.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 <link rel="import" href="ct-commit.html">
8
9 <script>
10 (function () {
11
12 var kExampleCommitData = {
13 "revision": 2,
14 "title": "Fix one more layering violation caught by check-blink-deps",
15 "time": "2013-09-30T19:36:21Z",
16 "summary": "core/platform may not depend on core/ even for testing.",
17 "author": "eseidel@chromium.org",
18 "reviewer": "abarth@chromium.org, abarth",
19 "bugID": [12],
20 "revertedRevision": undefined
21 }
22
23 module("ct-commit");
24
25 asyncTest("basic", 3, function() {
26 var grouper = document.createElement('ct-commit');
27
28 grouper.data = kExampleCommitData;
29
30 Platform.endOfMicrotask(function() {
31 var html = grouper.shadowRoot.innerHTML;
32
33 equal(html.indexOf('eseidel') != -1, true)
34 equal(html.indexOf('abarth') != -1, true)
35 equal(html.indexOf('may not depend on') != -1, true)
36
37 start();
38 });
39 });
40
41 })()
42 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698