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

Unified Diff: build/android/pylib/host_driven/java_unittest_utils.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
« no previous file with comments | « no previous file | build/android/pylib/host_driven/python_test_base.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/host_driven/java_unittest_utils.py
diff --git a/build/android/pylib/host_driven/java_unittest_utils.py b/build/android/pylib/host_driven/java_unittest_utils.py
index b65d73345528517c210b2ed7e346abd20d1cb346..a9ddd3bc21d7372e7c430be12b3bdbba4a88e013 100644
--- a/build/android/pylib/host_driven/java_unittest_utils.py
+++ b/build/android/pylib/host_driven/java_unittest_utils.py
@@ -7,7 +7,7 @@
import os
from pylib import android_commands
-from pylib.instrumentation.run_java_tests import TestRunner
+from pylib.instrumentation import test_runner
def _GetPackageName(fname):
@@ -22,6 +22,6 @@ def RunJavaTest(fname, suite, test, ports_to_forward):
device = android_commands.GetAttachedDevices()[0]
package_name = _GetPackageName(fname)
test = package_name + '.' + suite + '#' + test
- java_test_runner = TestRunner(False, device, [test], False, False, False,
- False, 0, ports_to_forward)
+ java_test_runner = test_runner.TestRunner(False, device, [test], False, False,
+ False, False, 0, ports_to_forward)
return java_test_runner.Run()
« no previous file with comments | « no previous file | build/android/pylib/host_driven/python_test_base.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698