| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 glob | 5 import glob |
| 6 import logging | 6 import logging |
| 7 import os | 7 import os |
| 8 | 8 |
| 9 from pylib import android_commands | 9 from pylib import android_commands |
| 10 from pylib import constants | 10 from pylib import constants |
| 11 from pylib import perf_tests_helper | 11 from pylib import perf_tests_helper |
| 12 from pylib.android_commands import errors | 12 from pylib.android_commands import errors |
| 13 from pylib.base import new_base_test_runner as base_test_runner | 13 from pylib.base import base_test_runner |
| 14 from pylib.base import test_result | 14 from pylib.base import test_result |
| 15 from pylib.utils import run_tests_helper | 15 from pylib.utils import run_tests_helper |
| 16 | 16 |
| 17 import test_package_apk | 17 import test_package_apk |
| 18 import test_package_executable | 18 import test_package_executable |
| 19 | 19 |
| 20 | 20 |
| 21 def _GetDataFilesForTestSuite(test_suite_basename): | 21 def _GetDataFilesForTestSuite(test_suite_basename): |
| 22 """Returns a list of data files/dirs needed by the test suite. | 22 """Returns a list of data files/dirs needed by the test suite. |
| 23 | 23 |
| (...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 self.LaunchChromeTestServerSpawner() | 282 self.LaunchChromeTestServerSpawner() |
| 283 self.tool.SetupEnvironment() | 283 self.tool.SetupEnvironment() |
| 284 | 284 |
| 285 #override | 285 #override |
| 286 def TearDown(self): | 286 def TearDown(self): |
| 287 """Cleans up the test enviroment for the test suite.""" | 287 """Cleans up the test enviroment for the test suite.""" |
| 288 self.tool.CleanUpEnvironment() | 288 self.tool.CleanUpEnvironment() |
| 289 if self._cleanup_test_files: | 289 if self._cleanup_test_files: |
| 290 self.adb.RemovePushedFiles() | 290 self.adb.RemovePushedFiles() |
| 291 super(TestRunner, self).TearDown() | 291 super(TestRunner, self).TearDown() |
| OLD | NEW |