Index: Tools/GardeningServer/model/ct-commit-list-mock.html |
diff --git a/Tools/GardeningServer/model/ct-commit-list-mock.html b/Tools/GardeningServer/model/ct-commit-list-mock.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a0b729f8e6a73527536bd39cdce7682b847a9475 |
--- /dev/null |
+++ b/Tools/GardeningServer/model/ct-commit-list-mock.html |
@@ -0,0 +1,31 @@ |
+<!-- |
+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-list.html'> |
+ |
+<link rel='import' href='ct-commit-log-mock.html'> |
+ |
+<script> |
+(function () { |
+ |
+window.CTCommitListMock = function() { |
+ var group = { |
+ failures: [ |
+ { |
+ firstFailingRevisions: { |
+ 'blink': 158545 |
+ }, |
+ lastPassingRevisions: { |
+ 'blink': 158544 |
+ } |
+ } |
+ ] |
+ }; |
+ return new CTCommitList(group, new CTCommitLogMock()); |
+}; |
+ |
+})(); |
+</script> |