Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Tools / GardeningServer / model / test / ct-builder-tests.html
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 model', function() {
15   it('should generate the build URL', function() {
16     var builder = new CTBuilder("https://master-one", "WebKit Mac10.6 (dbg)", 2, 3);
17     assert.equal(builder.buildUrl, "https://master-one/builders/WebKit%20Mac10.6%20(dbg)/builds/2");
18   });
19 });
20
21 })();
22 </script>