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

Side by Side Diff: Tools/GardeningServer/ui/test/ct-builder-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-builder.html">
8
9 <script>
10 (function () {
11
12 var assert = chai.assert;
13
14 describe('ct-builder', function() {
15 describe('default builder UI', function() {
16 it('should link to builder', function(done) {
17 var masterUrl = 'https://url';
18 var builderName = 'WebKit Linux (dbg)';
19
20 var builder = document.createElement('ct-builder');
21 builder.builder = new CTBuilder(masterUrl, builderName, 1);
22
23 setTimeout(function() {
24 var a = builder.shadowRoot.querySelector('a');
25 assert.ok(a);
26 assert(a.href.startsWith(masterUrl));
27 assert.include(a.href, encodeURIComponent(builderName));
28
29 done();
30 });
31 });
32 });
33 });
34
35 })()
36 </script>
OLDNEW
« no previous file with comments | « Tools/GardeningServer/ui/test/ct-builder-grid-tests.html ('k') | Tools/GardeningServer/ui/test/ct-commit-list-tests.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698