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

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

Issue 409063002: Simplify failing builder lists. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: make resultTypes private 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
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-builder.html"> 7 <link rel="import" href="ct-builder.html">
8 8
9 <script> 9 <script>
10 (function () { 10 (function () {
11 11
12 module("ct-builder"); 12 module("ct-builder");
13 13
14 asyncTest("basic", 2, function() { 14 asyncTest("basic", 2, function() {
15 var builder = document.createElement('ct-builder'); 15 var builder = document.createElement('ct-builder');
16 builder.builderName = 'WebKit Linux (dbg)'; 16 builder.builder = 'WebKit Linux (dbg)';
17 17
18 builder.async(function() { 18 builder.async(function() {
19 var html = builder.shadowRoot.innerHTML; 19 var html = builder.shadowRoot.innerHTML;
20 20
21 var a = builder.shadowRoot.querySelector('a'); 21 var a = builder.shadowRoot.querySelector('a');
22 ok(a); 22 ok(a);
23 notEqual(a.href.indexOf('WebKit%20Linux%20(dbg)'), -1); 23 notEqual(a.href.indexOf('WebKit+Linux+(dbg)'), -1);
24 24
25 start(); 25 start();
26 }); 26 });
27 }); 27 });
28 28
29 asyncTest("steps", 3, function() { 29 asyncTest("steps", 3, function() {
30 var builder = document.createElement('ct-builder'); 30 var builder = document.createElement('ct-builder');
31 builder.builderName = 'WebKit Linux (dbg)'; 31 builder.builder = 'WebKit Linux (dbg)';
32 builder.steps = ['gclient_revert', 'compile', 'unittests']; 32 builder.steps = ['gclient_revert', 'compile', 'unittests'];
33 33
34 builder.async(function() { 34 builder.async(function() {
35 var a = builder.shadowRoot.querySelector('a'); 35 var a = builder.shadowRoot.querySelector('a');
36 ok(a); 36 ok(a);
37 notEqual(a.href.indexOf('WebKit%20Linux%20(dbg)'), -1); 37 notEqual(a.href.indexOf('WebKit+Linux+(dbg)'), -1);
38 notEqual(a.innerText.indexOf('gclient_revert, compile, unittests'), -1); 38 notEqual(a.innerText.indexOf('gclient_revert, compile, unittests'), -1);
39 39
40 start(); 40 start();
41 }); 41 });
42 }); 42 });
43 43
44 })() 44 })()
45 </script> 45 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698