Home
last modified time | relevance | path

Searched refs:shouldAcquire (Results 1 – 4 of 4) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/bytecode/
DInstrumentationConfigurationTest.java59 assertThat(config.shouldAcquire("android.Rfoo")).isTrue(); in shouldAcquireAndroidRClasses()
60 assertThat(config.shouldAcquire("android.fooR")).isTrue(); in shouldAcquireAndroidRClasses()
61 assertThat(config.shouldAcquire("android.R")).isTrue(); in shouldAcquireAndroidRClasses()
62 assertThat(config.shouldAcquire("android.R$anything")).isTrue(); in shouldAcquireAndroidRClasses()
63 assertThat(config.shouldAcquire("android.R$anything$else")).isTrue(); in shouldAcquireAndroidRClasses()
68 assertThat(config.shouldAcquire("com.whatever.Rfoo")).isTrue(); in shouldNotAcquireRClasses()
69 assertThat(config.shouldAcquire("com.whatever.fooR")).isTrue(); in shouldNotAcquireRClasses()
70 assertThat(config.shouldAcquire("com.whatever.R")).isFalse(); in shouldNotAcquireRClasses()
71 assertThat(config.shouldAcquire("com.whatever.R$anything")).isFalse(); in shouldNotAcquireRClasses()
72 assertThat(config.shouldAcquire("com.whatever.R$anything$else")).isTrue(); in shouldNotAcquireRClasses()
[all …]
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DSandboxClassLoader.java109 if (config.shouldAcquire(name)) { in findClass()
DInstrumentationConfiguration.java99 public boolean shouldAcquire(String name) { in shouldAcquire() method in InstrumentationConfiguration
/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/
DSandboxClassLoaderTest.java130 when(config.shouldAcquire(anyString())).thenReturn(false); in shouldDelegateClassLoadForUnacquiredClasses()