Parcelable: newArray() result type should be Object[] (KT-20717)

This commit is contained in:
Yan Zhulanow
2017-10-18 23:49:30 +03:00
parent 26005751d8
commit e28cffd0ad
19 changed files with 53 additions and 22 deletions
@@ -155,7 +155,7 @@ abstract class AbstractParcelBoxTest : CodegenTestCase() {
process.waitFor(3, TimeUnit.MINUTES)
if (process.exitValue() != 0) {
throw AssertionError(classFileFactory.createText())
throw AssertionError("Process exited with exit code ${process.exitValue()} \n" + classFileFactory.createText())
}
} finally {
if (!dirForTestClasses.deleteRecursively()) {
@@ -53,6 +53,7 @@ class ParcelBoxTest : AbstractParcelBoxTest() {
fun testCustomSerializerSimple() = doTest("customSerializerSimple")
fun testCustomSerializerWriteWith() = doTest("customSerializerWriteWith")
fun testCustomSerializerBoxing() = doTest("customSerializerBoxing")
fun testKt20717() = doTest("kt20717")
}
class ParcelBoxTestWithSerializableLikeExtension : AbstractParcelBoxTest() {