Parcelable: Allow custom describeContents() implementation

This commit is contained in:
Yan Zhulanow
2017-06-29 18:57:11 +03:00
parent 4197380621
commit 96c9bcd820
6 changed files with 69 additions and 3 deletions
@@ -36,6 +36,12 @@ public class ParcelBytecodeListingTestGenerated extends AbstractParcelBytecodeLi
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("customDescribeContents.kt")
public void testCustomDescribeContents() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/customDescribeContents.kt");
doTest(fileName);
}
@TestMetadata("listInsideList.kt")
public void testListInsideList() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/listInsideList.kt");