1f97486fdd
- 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
17 lines
513 B
Kotlin
Vendored
17 lines
513 B
Kotlin
Vendored
// IGNORE_BACKEND: JVM_IR
|
|
// CURIOUS_ABOUT writeToParcel, createFromParcel
|
|
// WITH_RUNTIME
|
|
|
|
import kotlinx.android.parcel.*
|
|
import android.os.Parcelable
|
|
import android.os.IBinder
|
|
import android.os.IInterface
|
|
|
|
@Parcelize
|
|
class User(
|
|
val binder: IBinder,
|
|
val binderArray: Array<IBinder>,
|
|
val binderList: List<IBinder>,
|
|
val binderArrayList: ArrayList<IBinder>, // should be serialized using our strategy, not using Parcel.writeBinderList()
|
|
val intf: IInterface?
|
|
) : Parcelable |