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

Unified Diff: build/android/pylib/uiautomator/test_runner.py

Issue 21793002: Fix options passing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/uiautomator/test_runner.py
diff --git a/build/android/pylib/uiautomator/test_runner.py b/build/android/pylib/uiautomator/test_runner.py
index 39ed5ec829ad43f2829474a2f8e1393d9a800476..74e887deadc14b1e5fa9cf240e6b31682119dc7d 100644
--- a/build/android/pylib/uiautomator/test_runner.py
+++ b/build/android/pylib/uiautomator/test_runner.py
@@ -4,7 +4,7 @@
"""Class for running uiautomator tests on a single device."""
-from pylib.instrumentation import test_options
+from pylib.instrumentation import test_options as instr_test_options
from pylib.instrumentation import test_runner as instr_test_runner
@@ -24,7 +24,7 @@ class TestRunner(instr_test_runner.TestRunner):
Can be optionally requested by a test case.
"""
# Create an InstrumentationOptions object to pass to the super class
- instrumentation_options = test_options.InstrumentationOptions(
+ instrumentation_options = instr_test_options.InstrumentationOptions(
test_options.build_type,
test_options.tool,
test_options.cleanup_test_files,
@@ -37,7 +37,9 @@ class TestRunner(instr_test_runner.TestRunner):
test_options.screenshot_failures,
test_options.disable_assertions,
wait_for_debugger=False,
- test_apk=None)
+ test_apk=None,
+ test_apk_path=None,
+ test_apk_jar_path=None)
super(TestRunner, self).__init__(instrumentation_options, device,
shard_index, test_pkg, ports_to_forward)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698