Home
last modified time | relevance | path

Searched refs:RoboSettings (Results 1 – 7 of 7) sorted by relevance

/external/robolectric-shadows/resources/src/test/java/org/robolectric/
DRoboSettingsTest.java24 originalMavenRepositoryId = RoboSettings.getMavenRepositoryId(); in setUp()
25 originalMavenRepositoryUrl = RoboSettings.getMavenRepositoryUrl(); in setUp()
26 originalMavenRepositoryUserName = RoboSettings.getMavenRepositoryUserName(); in setUp()
27 originalMavenRepositoryPassword = RoboSettings.getMavenRepositoryPassword(); in setUp()
28 originalUseGlobalScheduler = RoboSettings.isUseGlobalScheduler(); in setUp()
33 RoboSettings.setMavenRepositoryId(originalMavenRepositoryId); in tearDown()
34 RoboSettings.setMavenRepositoryUrl(originalMavenRepositoryUrl); in tearDown()
35 RoboSettings.setMavenRepositoryUserName(originalMavenRepositoryUserName); in tearDown()
36 RoboSettings.setMavenRepositoryPassword(originalMavenRepositoryPassword); in tearDown()
37 RoboSettings.setUseGlobalScheduler(originalUseGlobalScheduler); in tearDown()
[all …]
/external/robolectric-shadows/resources/src/main/java/org/robolectric/
DRoboSettings.java6 public class RoboSettings { class
27 RoboSettings.mavenRepositoryId = mavenRepositoryId; in setMavenRepositoryId()
35 RoboSettings.mavenRepositoryUrl = mavenRepositoryUrl; in setMavenRepositoryUrl()
43 RoboSettings.mavenRepositoryUserName = mavenRepositoryUserName; in setMavenRepositoryUserName()
51 RoboSettings.mavenRepositoryPassword = mavenRepositoryPassword; in setMavenRepositoryPassword()
59 RoboSettings.useGlobalScheduler = useGlobalScheduler; in setUseGlobalScheduler()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/dependency/
DMavenDependencyResolver.java16 import org.robolectric.RoboSettings;
27 …this(RoboSettings.getMavenRepositoryUrl(), RoboSettings.getMavenRepositoryId(), RoboSettings.getMa… in MavenDependencyResolver()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/internal/
DParallelUniverseTest.java29 import org.robolectric.RoboSettings;
64 RoboSettings.setUseGlobalScheduler(true); in setUpApplicationState_setsBackgroundScheduler_toBeSameAsForeground_whenAdvancedScheduling()
74 RoboSettings.setUseGlobalScheduler(false); in setUpApplicationState_setsBackgroundScheduler_toBeSameAsForeground_whenAdvancedScheduling()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLooper.java14 import org.robolectric.RoboSettings;
366 if (realObject == Looper.getMainLooper() || RoboSettings.isUseGlobalScheduler()) { in resetScheduler()
DShadowApplication.java25 import org.robolectric.RoboSettings;
37 private Scheduler backgroundScheduler = RoboSettings.isUseGlobalScheduler()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowLooperTest.java21 import org.robolectric.RoboSettings;
275 RoboSettings.setUseGlobalScheduler(true); in setAdvancedScheduling()
440 RoboSettings.setUseGlobalScheduler(false); in tearDown()