[Parcelize] Add test for parcelize in multiplatform setting.

This tests that classes in common code can have code generated
for them in android compilations.
This commit is contained in:
Mads Ager
2024-03-04 15:37:13 +01:00
committed by Space Cloud
parent fa0d456850
commit b0bc017a16
13 changed files with 133 additions and 16 deletions
@@ -8,6 +8,10 @@ fun o() = "O"
// MODULE: common2
// TARGET_PLATFORM: Common
// The test framework adds additional files to common modules with no dependencies.
// Those files should only be added once, so we exclude them from common2 and only include
// them in common1.
// NO_COMMON_FILES
// FILE: common2.kt
fun k() = "K"
@@ -1,6 +1,5 @@
// LANGUAGE: +MultiPlatformProjects
// WITH_STDLIB
// WITH_COROUTINES
// MODULE: common
// FILE: common.kt
@@ -10,6 +9,7 @@ expect interface I {
}
// MODULE: main()()(common)
// WITH_COROUTINES
// FILE: main.kt
import kotlin.coroutines.*
import helpers.*