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

Side by Side Diff: Tools/GardeningServer/model/ct-commit-log-mock.html

Issue 485253004: [Sheriff-o-matic] Remove race condition on the commit list. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: names Created 6 years, 4 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-commit-log.html'> 7 <link rel='import' href='ct-commit-log.html'>
8 8
9 <link rel='import' href='ct-commit-mock.html'> 9 <link rel='import' href='ct-commit-mock.html'>
10 10
11 <script> 11 <script>
12 (function () { 12 (function () {
13 13
14 window.CTCommitLogMock = function() { 14 window.CTCommitLogMock = function() {
15 var repository = 'blink'; 15 var repository = 'blink';
16 var log = new CTCommitLog(); 16 var log = new CTCommitLog();
17 var commit = new CTCommitMock(); 17 var commit = new CTCommitMock();
18 log.commits[repository] = {};
19 log.commits[repository][commit.revision] = commit; 18 log.commits[repository][commit.revision] = commit;
20 log._findFirstAndLastRevisions('blink') 19 log._findFirstAndLastRevisions('blink')
21 return log; 20 return log;
22 }; 21 };
23 22
24 })(); 23 })();
25 </script> 24 </script>
OLDNEW
« no previous file with comments | « Tools/GardeningServer/model/ct-commit-log.html ('k') | Tools/GardeningServer/model/ct-repositories.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698