| 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 devil.android import device_errors |
| 8 from pylib import valgrind_tools | 8 from pylib import valgrind_tools |
| 9 from pylib.base import base_test_result | 9 from pylib.base import base_test_result |
| 10 from pylib.base import test_run | 10 from pylib.base import test_run |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 | 102 |
| 103 def GetTool(self, device): | 103 def GetTool(self, device): |
| 104 if not str(device) in self._tools: | 104 if not str(device) in self._tools: |
| 105 self._tools[str(device)] = valgrind_tools.CreateTool( | 105 self._tools[str(device)] = valgrind_tools.CreateTool( |
| 106 self._env.tool, device) | 106 self._env.tool, device) |
| 107 return self._tools[str(device)] | 107 return self._tools[str(device)] |
| 108 | 108 |
| 109 def _CreateShards(self, tests): | 109 def _CreateShards(self, tests): |
| 110 raise NotImplementedError | 110 raise NotImplementedError |
| 111 | 111 |
| 112 # pylint: disable=no-self-use |
| 112 def _GetTestName(self, test): | 113 def _GetTestName(self, test): |
| 113 return test | 114 return test |
| 114 | 115 |
| 115 def _GetTests(self): | 116 def _GetTests(self): |
| 116 raise NotImplementedError | 117 raise NotImplementedError |
| 117 | 118 |
| 118 def _RunTest(self, device, test): | 119 def _RunTest(self, device, test): |
| 119 raise NotImplementedError | 120 raise NotImplementedError |
| 120 | 121 |
| 121 def _ShouldShard(self): | 122 def _ShouldShard(self): |
| 122 raise NotImplementedError | 123 raise NotImplementedError |
| OLD | NEW |