OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import fnmatch | 5 import fnmatch |
6 import functools | 6 import functools |
7 import imp | 7 import imp |
8 import logging | 8 import logging |
9 | 9 |
10 from devil import base_error | 10 from devil import base_error |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 return test | 178 return test |
179 | 179 |
180 def _GetTests(self): | 180 def _GetTests(self): |
181 raise NotImplementedError | 181 raise NotImplementedError |
182 | 182 |
183 def _RunTest(self, device, test): | 183 def _RunTest(self, device, test): |
184 raise NotImplementedError | 184 raise NotImplementedError |
185 | 185 |
186 def _ShouldShard(self): | 186 def _ShouldShard(self): |
187 raise NotImplementedError | 187 raise NotImplementedError |
| 188 |
| 189 class NoTestsError(Exception): |
| 190 """Error for when no tests are found.""" |
OLD | NEW |