Skip to content

Commit 179c824

Browse files
cypressiousSpace Team
authored andcommitted
[Test] Add KMP Separate compilation Tests for plugin-sandbox
1 parent 6377b75 commit 179c824

15 files changed

+374
-1
lines changed

generators/tests/org/jetbrains/kotlin/generators/tests/GenerateTests.kt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,18 @@ fun main(args: Array<String>) {
220220
model("box", excludedPattern = CUSTOM_TEST_DATA_EXTENSION_PATTERN)
221221
}
222222

223+
testClass<AbstractFirJvmLightTreePluginBlackBoxCodegenWithSeparateKmpCompilationTest> {
224+
model("box", excludedPattern = CUSTOM_TEST_DATA_EXTENSION_PATTERN)
225+
}
226+
223227
testClass<AbstractFirJsLightTreePluginBlackBoxCodegenTest> {
224228
model("box", excludedPattern = CUSTOM_TEST_DATA_EXTENSION_PATTERN)
225229
}
226230

231+
testClass<AbstractFirJsLightTreePluginBlackBoxCodegenWithSeparateKmpCompilationTest> {
232+
model("box", excludedPattern = CUSTOM_TEST_DATA_EXTENSION_PATTERN)
233+
}
234+
227235
testClass<AbstractFirLoadK2CompiledWithPluginJvmKotlinTest> {
228236
model("firLoadK2Compiled")
229237
}

plugins/plugin-sandbox/testData/box/annotationsGeneratedInBackend_mpp.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// LANGUAGE: +MultiPlatformProjects
22
// TARGET_BACKEND: JVM_IR
3+
// IGNORE_HMPP: JVM_IR
34
// WITH_REFLECT
45
// WITH_STDLIB
56

plugins/plugin-sandbox/testData/box/emittedMetadata.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// IGNORE_BACKEND: JS_IR
2+
// IGNORE_HMPP: JS_IR
23
// MODULE: lib
34
import org.jetbrains.kotlin.plugin.sandbox.EmitMetadata
45

plugins/plugin-sandbox/testData/box/expectInlineableFunction.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// LANGUAGE: +MultiPlatformProjects
22
// ISSUE: KT-58539
3+
// IGNORE_HMPP: JVM_IR, JS_IR
34

45
// MODULE: common
56
import org.jetbrains.kotlin.plugin.sandbox.MyInlineable

plugins/plugin-sandbox/testData/box/generatedClassWithMembersAndNestedClasses.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// IGNORE_BACKEND: JS_IR
2+
// IGNORE_HMPP: JS_IR
23
// DUMP_IR
34
package bar
45

plugins/plugin-sandbox/testData/box/inlineableFunctionMultiModules.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// IGNORE_BACKEND: JS_IR
2+
// IGNORE_HMPP: JS_IR
23
// DUMP_IR
34

45
// MODULE: lib

plugins/plugin-sandbox/testData/box/inlineableFunctionMultiModules2.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// IGNORE_BACKEND: JS_IR
2+
// IGNORE_HMPP: JS_IR
23
// DUMP_IR
34

45
// MODULE: lib

plugins/plugin-sandbox/testData/box/mppDependencyWithActualTypealiasAnnotation.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// LANGUAGE: +MultiPlatformProjects
22
// TARGET_BACKEND: JVM
3+
// IGNORE_HMPP: JVM_IR
34

45
// MODULE: lib-common
56
package foo

plugins/plugin-sandbox/testData/box/nullableInlineableParameterAcrossModules.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// IGNORE_BACKEND: JS_IR
2+
// IGNORE_HMPP: JS_IR
23
// ISSUE: KT-64994
34

45
// MODULE: a

plugins/plugin-sandbox/testData/box/replaceActualFunctionBodyWitExpectDefaultValue.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// LANGUAGE: +MultiPlatformProjects
22
// ISSUE: KT-56173
3+
// IGNORE_HMPP: JVM_IR, JS_IR
34

45
// MODULE: common
56
// FILE: common.kt

0 commit comments

Comments
 (0)