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

Unified Diff: build/android/test_runner.py

Issue 2864693002: (Reland x3) Expose resources in Robolectric/JUnit tests. (Closed)
Patch Set: Created 3 years, 7 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/test_runner.py
diff --git a/build/android/test_runner.py b/build/android/test_runner.py
index de297bb4e537b728905b64d18718395289173057..79a4dceb78d9c2daa201b16246c8d6ac4721e34c 100755
--- a/build/android/test_runner.py
+++ b/build/android/test_runner.py
@@ -473,6 +473,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/config/android/internal_rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698