org.robolectric.RoboSettings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of resources Show documentation
Show all versions of resources Show documentation
An alternative Android testing framework.
package org.robolectric;
/**
* Class that encapsulates reading global configuration options from the Java system properties file.
*
* @deprecated Don't put more stuff here.
*/
@Deprecated
public class RoboSettings {
private static boolean useGlobalScheduler;
static {
useGlobalScheduler = Boolean.getBoolean("robolectric.scheduling.global");
}
/**
* @deprecated Use PAUSED looper mode.
*/
@Deprecated
public static boolean isUseGlobalScheduler() {
return useGlobalScheduler;
}
/**
* @deprecated Use PAUSED looper mode.
*/
@Deprecated
public static void setUseGlobalScheduler(boolean useGlobalScheduler) {
RoboSettings.useGlobalScheduler = useGlobalScheduler;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy