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

Unified Diff: build/android/test_runner.py

Issue 2767613002: Expose resources in Robolectric/JUnit tests. (Closed)
Patch Set: rebase! Created 3 years, 8 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 | « build/android/pylib/local/machine/local_machine_junit_test_run.py ('k') | build/android/test_runner.pydeps » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/test_runner.py
diff --git a/build/android/test_runner.py b/build/android/test_runner.py
index cb2767e662415d00f49b3341f9a0109ec415c47d..f7eb5c1010e2de60bb52cfd388c7d6dae873af3d 100755
--- a/build/android/test_runner.py
+++ b/build/android/test_runner.py
@@ -469,6 +469,21 @@ def AddJUnitTestOptions(parser):
dest='test_suite', required=True,
help='JUnit test suite to run.')
+ # These arguments are for Android Robolectric tests.
+ parser.add_argument(
+ '--android-manifest-path',
+ help='Path to Android Manifest to configure Robolectric.')
+ parser.add_argument(
+ '--package-name',
+ help='Default app package name for Robolectric tests.')
+ parser.add_argument(
+ '--resource-zip',
+ action='append', dest='resource_zips', default=[],
+ help='Path to resource zips to configure Robolectric.')
+ parser.add_argument(
+ '--robolectric-runtime-deps-dir',
+ help='Path to runtime deps for Robolectric.')
+
def AddLinkerTestOptions(parser):
« no previous file with comments | « build/android/pylib/local/machine/local_machine_junit_test_run.py ('k') | build/android/test_runner.pydeps » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698