org.robolectric.RoboSettings Maven / Gradle / Ivy
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");
}
public static boolean isUseGlobalScheduler() {
return useGlobalScheduler;
}
public static void setUseGlobalScheduler(boolean useGlobalScheduler) {
RoboSettings.useGlobalScheduler = useGlobalScheduler;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy