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 logging | 5 import logging |
6 | 6 |
| 7 from devil.android import device_errors |
7 from pylib import valgrind_tools | 8 from pylib import valgrind_tools |
8 from pylib.base import base_test_result | 9 from pylib.base import base_test_result |
9 from pylib.base import test_run | 10 from pylib.base import test_run |
10 from pylib.base import test_collection | 11 from pylib.base import test_collection |
11 from pylib.device import device_errors | |
12 | 12 |
13 | 13 |
14 class LocalDeviceTestRun(test_run.TestRun): | 14 class LocalDeviceTestRun(test_run.TestRun): |
15 | 15 |
16 def __init__(self, env, test_instance): | 16 def __init__(self, env, test_instance): |
17 super(LocalDeviceTestRun, self).__init__(env, test_instance) | 17 super(LocalDeviceTestRun, self).__init__(env, test_instance) |
18 self._tools = {} | 18 self._tools = {} |
19 | 19 |
20 #override | 20 #override |
21 def RunTests(self): | 21 def RunTests(self): |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 return test | 113 return test |
114 | 114 |
115 def _GetTests(self): | 115 def _GetTests(self): |
116 raise NotImplementedError | 116 raise NotImplementedError |
117 | 117 |
118 def _RunTest(self, device, test): | 118 def _RunTest(self, device, test): |
119 raise NotImplementedError | 119 raise NotImplementedError |
120 | 120 |
121 def _ShouldShard(self): | 121 def _ShouldShard(self): |
122 raise NotImplementedError | 122 raise NotImplementedError |
OLD | NEW |