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

Unified Diff: build/android/test_runner.py

Issue 2767613002: Expose resources in Robolectric/JUnit tests. (Closed)
Patch Set: Expose resources in Robolectric/JUnit tests. Created 3 years, 9 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 121a990a48dd986ca5e8a45ebd095c440bca024b..2570b5cbc66498e5d76107252e1662363a50e636 100755
--- a/build/android/test_runner.py
+++ b/build/android/test_runner.py
@@ -461,6 +461,20 @@ 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 package name for Robolectric tests.')
+ parser.add_argument(
+ '--resource-dir',
+ help='Path to resource dir to configure Robolectric.')
+ parser.add_argument(
+ '--robolectric-runtime-deps-dir',
+ help='Path to runtime deps for Robolectric.')
+
def AddLinkerTestOptions(parser):

Powered by Google App Engine
This is Rietveld 408576698