Parcelize: Fix Parcelize box tests
This commit is contained in:
@@ -32,6 +32,7 @@ dependencies {
|
|||||||
testRuntime(intellijPluginDep("junit")) { includeJars("idea-junit", "resources_en") }
|
testRuntime(intellijPluginDep("junit")) { includeJars("idea-junit", "resources_en") }
|
||||||
|
|
||||||
robolectricClasspath(commonDep("org.robolectric", "robolectric"))
|
robolectricClasspath(commonDep("org.robolectric", "robolectric"))
|
||||||
|
robolectricClasspath("org.robolectric:android-all:4.4_r1-robolectric-1")
|
||||||
robolectricClasspath(project(":kotlin-android-extensions-runtime")) { isTransitive = false }
|
robolectricClasspath(project(":kotlin-android-extensions-runtime")) { isTransitive = false }
|
||||||
|
|
||||||
embeddedComponents(project(":kotlin-android-extensions-runtime")) { isTransitive = false }
|
embeddedComponents(project(":kotlin-android-extensions-runtime")) { isTransitive = false }
|
||||||
|
|||||||
+1
@@ -54,6 +54,7 @@ abstract class AbstractParcelBoxTest : CodegenTestCase() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
with(visitAnnotation("Lorg/robolectric/annotation/Config;", true)) {
|
with(visitAnnotation("Lorg/robolectric/annotation/Config;", true)) {
|
||||||
|
visit("sdk", intArrayOf(19))
|
||||||
visit("manifest", "--none")
|
visit("manifest", "--none")
|
||||||
visitEnd()
|
visitEnd()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user