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

12 lines
419 B
Kotlin
Raw Normal View History

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