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

12 lines
419 B
Kotlin
Raw Normal View History

2016-06-15 12:53:12 +02:00
package eu.kanade.tachiyomi
2016-11-05 19:41:52 +01:00
import org.robolectric.RobolectricTestRunner
2016-06-15 12:53:12 +02:00
import org.robolectric.annotation.Config
import org.robolectric.manifest.AndroidManifest
2016-11-05 19:41:52 +01:00
class CustomRobolectricGradleTestRunner(klass: Class<*>) : RobolectricTestRunner(klass) {
2016-06-15 12:53:12 +02:00
override fun getAppManifest(config: Config): AndroidManifest {
return super.getAppManifest(config).apply { packageName = "eu.kanade.tachiyomi" }
}
}