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 import sys | 8 import sys |
9 | 9 |
10 from pylib import android_commands | 10 from pylib import android_commands |
11 from pylib import constants | 11 from pylib import constants |
12 from pylib import perf_tests_helper | 12 from pylib import perf_tests_helper |
13 from pylib.android_commands import errors | 13 from pylib.android_commands import errors |
14 from pylib.base_test_runner import BaseTestRunner | 14 from pylib.base.base_test_runner import BaseTestRunner |
15 from pylib.test_result import BaseTestResult, TestResults | 15 from pylib.base.test_result import BaseTestResult, TestResults |
16 from pylib.utils import run_tests_helper | 16 from pylib.utils import run_tests_helper |
17 | 17 |
18 import debug_info | 18 import debug_info |
19 from test_package_apk import TestPackageApk | 19 from test_package_apk import TestPackageApk |
20 from test_package_executable import TestPackageExecutable | 20 from test_package_executable import TestPackageExecutable |
21 | 21 |
22 | 22 |
23 CURFILE_PATH = os.path.abspath(os.path.dirname(__file__)) | 23 CURFILE_PATH = os.path.abspath(os.path.dirname(__file__)) |
24 | 24 |
25 | 25 |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 def TearDown(self): | 276 def TearDown(self): |
277 """Cleans up the test enviroment for the test suite.""" | 277 """Cleans up the test enviroment for the test suite.""" |
278 self.tool.CleanUpEnvironment() | 278 self.tool.CleanUpEnvironment() |
279 if self.test_package.cleanup_test_files: | 279 if self.test_package.cleanup_test_files: |
280 self.adb.RemovePushedFiles() | 280 self.adb.RemovePushedFiles() |
281 if self.dump_debug_info: | 281 if self.dump_debug_info: |
282 self.dump_debug_info.StopRecordingLog() | 282 self.dump_debug_info.StopRecordingLog() |
283 if self.dump_debug_info: | 283 if self.dump_debug_info: |
284 self.dump_debug_info.ArchiveNewCrashFiles() | 284 self.dump_debug_info.ArchiveNewCrashFiles() |
285 super(SingleTestRunner, self).TearDown() | 285 super(SingleTestRunner, self).TearDown() |
OLD | NEW |