OLD | NEW |
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-commit-list.html"> | 7 <link rel="import" href="../ct-commit-list.html"> |
8 | 8 |
9 <script> | 9 <script> |
10 (function () { | 10 (function () { |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 'blink': 158545 | 57 'blink': 158545 |
58 }, | 58 }, |
59 lastPassingRevisions: { | 59 lastPassingRevisions: { |
60 'blink': 158544 | 60 'blink': 158544 |
61 } | 61 } |
62 } | 62 } |
63 ] | 63 ] |
64 }; | 64 }; |
65 | 65 |
66 var cl = new CTCommitList(group, new CTCommitLogMock()); | 66 var cl = new CTCommitList(group, new CTCommitLogMock()); |
67 var repos = cl.repositories(); | 67 var repos = cl.repositories; |
68 assert.lengthOf(repos, 1); | 68 assert.lengthOf(repos, 1); |
69 assert.equal(repos[0].name, 'blink'); | 69 assert.equal(repos[0].name, 'blink'); |
70 assert.lengthOf(repos[0].commits, 1); | 70 assert.lengthOf(repos[0].commits, 1); |
71 assert.equal(repos[0].range, '158545 : 158545') | 71 assert.equal(repos[0].range, '158545 : 158545') |
72 }); | 72 }); |
73 }); | 73 }); |
74 }); | 74 }); |
75 | 75 |
76 })(); | 76 })(); |
77 </script> | 77 </script> |
OLD | NEW |