[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
@@ -36365,6 +36365,22 @@ public class LLFirBlackBoxCodegenBasedTestGenerated extends AbstractLLFirBlackBo
}
}
@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, 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")
@@ -36365,6 +36365,22 @@ public class LLFirReversedBlackBoxCodegenBasedTestGenerated extends AbstractLLFi
}
}
@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, 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")