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 logging | 5 import logging |
6 import os | 6 import os |
7 import sys | 7 import sys |
8 | 8 |
9 from base_test_runner import BaseTestRunner | 9 from base_test_runner import BaseTestRunner |
10 import debug_info | 10 import debug_info |
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 def TearDown(self): | 306 def TearDown(self): |
307 """Cleans up the test enviroment for the test suite.""" | 307 """Cleans up the test enviroment for the test suite.""" |
308 self.test_package.tool.CleanUpEnvironment() | 308 self.test_package.tool.CleanUpEnvironment() |
309 if self.test_package.cleanup_test_files: | 309 if self.test_package.cleanup_test_files: |
310 self.adb.RemovePushedFiles() | 310 self.adb.RemovePushedFiles() |
311 if self.dump_debug_info: | 311 if self.dump_debug_info: |
312 self.dump_debug_info.StopRecordingLog() | 312 self.dump_debug_info.StopRecordingLog() |
313 if self.test_package.performance_test: | 313 if self.test_package.performance_test: |
314 self.adb.TearDownPerformanceTest() | 314 self.adb.TearDownPerformanceTest() |
315 super(SingleTestRunner, self).TearDown() | 315 super(SingleTestRunner, self).TearDown() |
OLD | NEW |