aniyomi/app/src/test/java/eu/kanade/tachiyomi/CustomRobolectricGradleTestRunner.kt

12 lines
431 B
Kotlin
Raw Normal View History

2016-06-15 13:53:12 +03:00
package eu.kanade.tachiyomi
import org.robolectric.RobolectricGradleTestRunner
import org.robolectric.annotation.Config
import org.robolectric.manifest.AndroidManifest
class CustomRobolectricGradleTestRunner(klass: Class<*>) : RobolectricGradleTestRunner(klass) {
override fun getAppManifest(config: Config): AndroidManifest {
return super.getAppManifest(config).apply { packageName = "eu.kanade.tachiyomi" }
}
}