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

Unified Diff: build/android/pylib/host_driven/python_test_base.py

Issue 12256021: [Android] Split out the instrumentation test runner, sharder, and dispatcher. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix some host_driven imports Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: build/android/pylib/host_driven/python_test_base.py
diff --git a/build/android/pylib/host_driven/python_test_base.py b/build/android/pylib/host_driven/python_test_base.py
index 3380ca80958c4b1a89d210e583bc9b367e0a1087..c2d0f69513d5a8c736c357116ad6005631eb6506 100644
--- a/build/android/pylib/host_driven/python_test_base.py
+++ b/build/android/pylib/host_driven/python_test_base.py
@@ -26,7 +26,7 @@ import time
from pylib import android_commands
from pylib.base.test_result import SingleTestResult, TestResults
from pylib.instrumentation import apk_info
-from pylib.instrumentation.run_java_tests import TestRunner
+from pylib.instrumentation import test_runner
# aka the parent of com.google.android
@@ -77,10 +77,9 @@ class PythonTestBase(object):
test = self._ComposeFullTestName(fname, suite, test)
apks = [apk_info.ApkInfo(self.options.test_apk_path,
self.options.test_apk_jar_path)]
- java_test_runner = TestRunner(self.options, self.device_id, [test], False,
- self.shard_index,
- apks,
- self.ports_to_forward)
+ java_test_runner = test_runner.TestRunner(self.options, self.device_id,
+ [test], False, self.shard_index,
+ apks, self.ports_to_forward)
return java_test_runner.Run()
def _RunJavaTests(self, fname, tests):
« no previous file with comments | « build/android/pylib/host_driven/java_unittest_utils.py ('k') | build/android/pylib/host_driven/python_test_sharder.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698