blob: a76d90d2c564b107cef88af2274677784f4480dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
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;
}
}
|