[Tests] Add test for kt33411

^KT-33411 Fixed


Merge-request: KT-MR-14782
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com>
This commit is contained in:
Vladimir Sukharev
2024-03-07 08:46:05 +00:00
committed by Space Team
parent 928fb94052
commit b4bc576d37
22 changed files with 366 additions and 0 deletions
@@ -25698,6 +25698,22 @@ public class FirWasmJsCodegenBoxTestGenerated extends AbstractFirWasmJsCodegenBo
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/klib")
@TestDataPath("$PROJECT_ROOT")
public class Klib {
@Test
public void testAllFilesPresentInKlib() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/klib"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
}
@Test
@TestMetadata("kt33411.kt")
public void testKt33411() {
runTest("compiler/testData/codegen/box/klib/kt33411.kt");
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/ktype")
@TestDataPath("$PROJECT_ROOT")
@@ -25698,6 +25698,22 @@ public class K1WasmCodegenBoxTestGenerated extends AbstractK1WasmCodegenBoxTest
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/klib")
@TestDataPath("$PROJECT_ROOT")
public class Klib {
@Test
public void testAllFilesPresentInKlib() {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/klib"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
}
@Test
@TestMetadata("kt33411.kt")
public void testKt33411() {
runTest("compiler/testData/codegen/box/klib/kt33411.kt");
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/ktype")
@TestDataPath("$PROJECT_ROOT")