Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/bytecode/
DInstrumentationConfigurationTest.java27 assertThat(config.shouldInstrument(wrap("com.google.android.apps.Foo"))).isFalse(); in shouldNotInstrumentAndroidAppClasses()
32 assertThat(config.shouldInstrument(wrap("dalvik.system.DexFile"))).isTrue(); in shouldInstrumentDalvikClasses()
37 assertThat(config.shouldInstrument(wrap("java.lang.Object"))).isFalse(); in shouldNotInstrumentCoreJdkClasses()
38 assertThat(config.shouldInstrument(wrap("java.lang.String"))).isFalse(); in shouldNotInstrumentCoreJdkClasses()
43 assertThat(config.shouldInstrument(wrap("android.content.Intent"))).isTrue(); in shouldInstrumentAndroidCoreClasses()
44 …assertThat(config.shouldInstrument(wrap("android.and.now.for.something.completely.different"))).is… in shouldInstrumentAndroidCoreClasses()
49 assertThat(config.shouldInstrument(wrap("org.apache.http.util.CharArrayBuffer"))).isTrue(); in shouldInstrumentOrgApacheHttpClasses()
54 assertThat(config.shouldInstrument(wrap("org.kxml2.io.KXmlParser"))).isTrue(); in shouldInstrumentOrgKxmlClasses()
103 assertThat(customConfig.shouldInstrument(wrap(instrumentName))).isTrue(); in shouldInstrumentCustomClasses()
104 assertThat(customConfig.shouldInstrument(wrap(notInstrumentName))).isFalse(); in shouldInstrumentCustomClasses()
[all …]
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DSandboxClassLoader.java126 if (config.shouldInstrument(mutableClass)) { in maybeInstrumentClass()
DInstrumentationConfiguration.java82 public boolean shouldInstrument(MutableClass mutableClass) { in shouldInstrument() method in InstrumentationConfiguration
/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/
DSandboxClassLoaderTest.java131 when(config.shouldInstrument(any(MutableClass.class))).thenReturn(false); in shouldDelegateClassLoadForUnacquiredClasses()