All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.robolectric.RoboSettings Maven / Gradle / Ivy

There is a newer version: 4.14.1
Show newest version
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