[go: nahoru, domu]

blob: 17bf3bc089e34d0f4299f277aea6e689d36c32d5 [file] [log] [blame]
package androidx.wear.ongoingactivity
import org.junit.runners.model.FrameworkMethod
import org.robolectric.RobolectricTestRunner
import org.robolectric.internal.bytecode.InstrumentationConfiguration
class PatchedRobolectricTestRunner(testClass: Class<*>?) : RobolectricTestRunner(testClass) {
override fun createClassLoaderConfig(method: FrameworkMethod?): InstrumentationConfiguration =
InstrumentationConfiguration.Builder(super.createClassLoaderConfig(method))
.doNotInstrumentPackage("androidx.wear.ongoingactivity")
.build()
}