| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 from webkitpy.common.system.filesystem_mock import MockFileSystem | 5 from webkitpy.common.system.filesystem_mock import MockFileSystem |
| 6 from webkitpy.common.system.executive_mock import MockExecutive | 6 from webkitpy.common.system.executive_mock import MockExecutive |
| 7 | 7 |
| 8 | 8 |
| 9 class MockGit(object): | 9 class MockGit(object): |
| 10 | 10 |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 if not self._filesystem: | 100 if not self._filesystem: |
| 101 return | 101 return |
| 102 for path in paths: | 102 for path in paths: |
| 103 if self._filesystem.exists(path): | 103 if self._filesystem.exists(path): |
| 104 self._filesystem.remove(path) | 104 self._filesystem.remove(path) |
| 105 | 105 |
| 106 def move(self, origin, destination): | 106 def move(self, origin, destination): |
| 107 if self._filesystem: | 107 if self._filesystem: |
| 108 self._filesystem.move(self.absolute_path(origin), self.absolute_path
(destination)) | 108 self._filesystem.move(self.absolute_path(origin), self.absolute_path
(destination)) |
| 109 | 109 |
| 110 def changed_files(self): | 110 def changed_files(self, diff_filter='ADM'): |
| 111 return [] | 111 return [] |
| 112 | 112 |
| 113 def unstaged_changes(self): | 113 def unstaged_changes(self): |
| 114 return {} | 114 return {} |
| OLD | NEW |