mihon/app/src/test/java/eu/kanade/tachiyomi/CustomRobolectricGradleTestRunner.kt
2016-11-05 19:41:52 +01:00

12 lines
419 B
Kotlin

package eu.kanade.tachiyomi
import org.robolectric.RobolectricTestRunner
import org.robolectric.annotation.Config
import org.robolectric.manifest.AndroidManifest
class CustomRobolectricGradleTestRunner(klass: Class<*>) : RobolectricTestRunner(klass) {
override fun getAppManifest(config: Config): AndroidManifest {
return super.getAppManifest(config).apply { packageName = "eu.kanade.tachiyomi" }
}
}