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

Unified Diff: testing/android/junit/java/src/org/chromium/testing/local/LocalRobolectricTestRunner.java

Issue 2819593002: Revert of Expose resources in Robolectric/JUnit tests. (Closed)
Patch Set: 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
Index: testing/android/junit/java/src/org/chromium/testing/local/LocalRobolectricTestRunner.java
diff --git a/testing/android/junit/java/src/org/chromium/testing/local/LocalRobolectricTestRunner.java b/testing/android/junit/java/src/org/chromium/testing/local/LocalRobolectricTestRunner.java
index 7b2e28e971c768dd973935b1bf8bb137085ef1c7..ae72114f37ab032cedaac73d8f4c3798333876d7 100644
--- a/testing/android/junit/java/src/org/chromium/testing/local/LocalRobolectricTestRunner.java
+++ b/testing/android/junit/java/src/org/chromium/testing/local/LocalRobolectricTestRunner.java
@@ -14,7 +14,6 @@
*/
public class LocalRobolectricTestRunner extends RobolectricTestRunner {
private static final int DEFAULT_SDK = 25;
- private static final String DEFAULT_PACKAGE_NAME = "org.robolectric.default";
public LocalRobolectricTestRunner(Class<?> testClass) throws InitializationError {
super(testClass);
@@ -22,10 +21,7 @@
@Override
protected Config buildGlobalConfig() {
- String packageName =
- System.getProperty("chromium.robolectric.package.name", DEFAULT_PACKAGE_NAME);
-
- return new Config.Builder().setSdk(DEFAULT_SDK).setPackageName(packageName).build();
+ return new Config.Builder().setSdk(DEFAULT_SDK).build();
}
@Override

Powered by Google App Engine
This is Rietveld 408576698