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

Side by Side Diff: Tools/GardeningServer/model/test/ct-builder-list-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-list.html">
8
9 <link rel="import" href="../ct-builder.html">
10 <link rel="import" href="../ct-step-failure.html">
11
12 <script>
13 (function () {
14
15 var assert = chai.assert;
16
17 var kExampleFailures = [
18 new CTStepFailure('layout_tests', "plugins/gesture-events-scrolled.html",
19 {
20 "WebKit Win7 (dbg)": {
21 "actual": "CRASH",
22 "masterUrl": "https://master-one",
23 "failingBuildCount": 2,
24 },
25 "WebKit Mac10.6 (dbg)": {
26 "actual": "CRASH",
27 "masterUrl": "https://master-one",
28 "failingBuildCount": 1,
29 },
30 "WebKit Mac10.7": {
31 "actual": "TEXT",
32 "masterUrl": "https://master-one",
33 "failingBuildCount": 1,
34 }
35 }, 177164, 177165),
36 new CTStepFailure('layout_tests', "plugins/transformed-events.html",
37 {
38 "WebKit Win7 (dbg)": {
39 "actual": "TEXT",
40 "masterUrl": "https://master-one",
41 "failingBuildCount": 2,
42 },
43 "WebKit Mac10.7": {
44 "actual": "CRASH",
45 "masterUrl": "https://master-two",
46 "failingBuildCount": 1,
47 },
48 }, 177164, 177165
49 )
50 ];
51
52 describe('ct-builder-list', function() {
53 it('should create a correct list', function() {
54 var builderList = new CTBuilderList(kExampleFailures);
55
56 assert.lengthOf(builderList.builders, 4);
57 assert.deepEqual(builderList.builders[0], new CTBuilder(
58 'https://master-one', 'WebKit Mac10.6 (dbg)', 1));
59 assert.deepEqual(builderList.builders[1], new CTBuilder(
60 'https://master-one', 'WebKit Mac10.7', 1));
61 assert.deepEqual(builderList.builders[2], new CTBuilder(
62 'https://master-two', 'WebKit Mac10.7', 1));
63 assert.deepEqual(builderList.builders[3], new CTBuilder(
64 'https://master-one', 'WebKit Win7 (dbg)', 2));
65 });
66 });
67
68 })()
69 </script>
OLDNEW
« no previous file with comments | « Tools/GardeningServer/model/ct-trooper-failure-group-data.html ('k') | Tools/GardeningServer/model/test/ct-builder-tests.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698