Parcelize: Improve testing infrarstructure

- Support newer android versions
- Allow testing against Java files using android APIs
- Update test expectations
- Auto-generate ParcelBoxTests
- Create tests for the JVM IR backend
This commit is contained in:
Steven Schäfer
2020-04-01 11:19:44 +02:00
committed by Alexander Udalov
parent d62b353ab5
commit 1f97486fdd
48 changed files with 2089 additions and 156 deletions
@@ -1,3 +1,6 @@
// IGNORE_BACKEND: JVM
// See KT-38106
// This feature regressed with the fix for KT-22576
// WITH_RUNTIME
@file:JvmName("TestKt")
@@ -42,4 +45,4 @@ fun box() = parcelTest { parcel ->
assert(first.parcelableEnum == ParcelableEnum.THREE)
assert(first2.parcelableEnum == ParcelableEnum.ONE)
assert(first != first2)
}
}