Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(874)

Side by Side Diff: build/android/pylib/gtest/single_test_runner.py

Issue 11879031: [Android] Move base tests classes to pylib/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed nits Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « build/android/pylib/base_test_sharder.py ('k') | build/android/pylib/gtest/test_package.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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()
OLDNEW
« no previous file with comments | « build/android/pylib/base_test_sharder.py ('k') | build/android/pylib/gtest/test_package.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698