Index: Tools/GardeningServer/model/ct-commit-log-mock.html |
diff --git a/Tools/GardeningServer/model/ct-commit-log-mock.html b/Tools/GardeningServer/model/ct-commit-log-mock.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8d48ec079bbdd0d92d959a48c74c3eebe4745b35 |
--- /dev/null |
+++ b/Tools/GardeningServer/model/ct-commit-log-mock.html |
@@ -0,0 +1,22 @@ |
+<!-- |
+Copyright 2014 The Chromium Authors. All rights reserved. |
+Use of this source code is governed by a BSD-style license that can be |
+found in the LICENSE file. |
+--> |
+ |
+<link rel='import' href='ct-commit-log.html'> |
+ |
+<link rel='import' href='ct-commit-mock.html'> |
+ |
+<script> |
+(function () { |
+ |
+window.CTCommitLogMock = function() { |
+ var log = new CTCommitLog(); |
+ var commit = new CTCommitMock(); |
+ log[commit.revision] = commit; |
+ return log; |
+}; |
+ |
+})(); |
+</script> |