[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:
committed by
Space Team
parent
928fb94052
commit
b4bc576d37
+16
@@ -25728,6 +25728,22 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
}
|
||||
}
|
||||
|
||||
@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.JS_IR, 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")
|
||||
|
||||
Generated
+16
@@ -25728,6 +25728,22 @@ public class FirJsES6CodegenBoxTestGenerated extends AbstractFirJsES6CodegenBoxT
|
||||
}
|
||||
}
|
||||
|
||||
@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.JS_IR_ES6, 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")
|
||||
|
||||
+16
@@ -25728,6 +25728,22 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
}
|
||||
}
|
||||
|
||||
@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.JS_IR, 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")
|
||||
|
||||
+16
@@ -25728,6 +25728,22 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
}
|
||||
}
|
||||
|
||||
@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.JS_IR_ES6, 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")
|
||||
|
||||
Reference in New Issue
Block a user