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

Side by Side Diff: Tools/GardeningServer/model/test/ct-commit-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-commit-list.html">
8
9 <script>
10 (function () {
11
12 var assert = chai.assert;
13
14 describe('ct-commit-list', function() {
15 describe('commit list Model', function() {
16 it('returns commits', function() {
17 var revisions = ['blink:158545'];
18 var cl = new CTCommitList(new CTCommitLogMock(), revisions);
19 assert.lengthOf(cl.repositories, 1);
20 });
21
22 it ('returns repositories', function() {
23 var revisions = ['blink:158545'];
24 var cl = new CTCommitList(new CTCommitLogMock(), revisions);
25 var repos = cl.repositories;
26 assert.lengthOf(repos, 1);
27 assert.equal(repos[0].name, 'blink');
28 assert.lengthOf(repos[0].commits, 1);
29 assert.equal(repos[0].range, '158545 : 158545')
30 });
31 });
32 });
33
34 })();
35 </script>
OLDNEW
« no previous file with comments | « Tools/GardeningServer/model/test/ct-builder-tests.html ('k') | Tools/GardeningServer/model/test/ct-commit-log-tests.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698