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

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

Issue 728023004: Remove GardeningServer. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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 <link rel="import" href="../../model/ct-commit-mock.html">
10
11 <script>
12 (function () {
13
14 var assert = chai.assert;
15
16 describe('ct-commit', function() {
17 var commit;
18
19 beforeEach(function(done) {
20 commit = document.createElement('ct-commit');
21 commit.data = new CTCommitMock();
22
23 setTimeout(done);
24 });
25
26 describe('commit UI', function() {
27 it('should show example commit', function() {
28 var html = commit.shadowRoot.innerHTML;
29
30 assert.include(html, 'mkwst');
31 assert.include(html, 'behavior for these types');
32 assert.equal(commit.shadowRoot.querySelector('a').href, commit.data.url);
33 });
34 });
35 });
36
37 })()
38 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698