JVM_IR KT-47984 add test for argument reordering
This commit is contained in:
committed by
TeamCityServer
parent
edd2ca775b
commit
15c41b2610
+16
@@ -2299,6 +2299,22 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxInline/inlineArgsInplace")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class InlineArgsInplace {
|
||||
@Test
|
||||
public void testAllFilesPresentInInlineArgsInplace() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/inlineArgsInplace"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callArgumentReordering.kt")
|
||||
public void testCallArgumentReordering() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/inlineArgsInplace/callArgumentReordering.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxInline/inlineClasses")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
+16
@@ -2299,6 +2299,22 @@ public class CompileKotlinAgainstInlineKotlinTestGenerated extends AbstractCompi
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxInline/inlineArgsInplace")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class InlineArgsInplace {
|
||||
@Test
|
||||
public void testAllFilesPresentInInlineArgsInplace() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/inlineArgsInplace"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callArgumentReordering.kt")
|
||||
public void testCallArgumentReordering() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/inlineArgsInplace/callArgumentReordering.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxInline/inlineClasses")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
+16
@@ -2311,6 +2311,22 @@ public class IrBlackBoxInlineCodegenTestGenerated extends AbstractIrBlackBoxInli
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxInline/inlineArgsInplace")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class InlineArgsInplace {
|
||||
@Test
|
||||
public void testAllFilesPresentInInlineArgsInplace() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/inlineArgsInplace"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callArgumentReordering.kt")
|
||||
public void testCallArgumentReordering() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/inlineArgsInplace/callArgumentReordering.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxInline/inlineClasses")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
+16
@@ -2311,6 +2311,22 @@ public class IrCompileKotlinAgainstInlineKotlinTestGenerated extends AbstractIrC
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxInline/inlineArgsInplace")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class InlineArgsInplace {
|
||||
@Test
|
||||
public void testAllFilesPresentInInlineArgsInplace() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/inlineArgsInplace"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callArgumentReordering.kt")
|
||||
public void testCallArgumentReordering() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/inlineArgsInplace/callArgumentReordering.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxInline/inlineClasses")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
+16
@@ -2311,6 +2311,22 @@ public class IrSerializeCompileKotlinAgainstInlineKotlinTestGenerated extends Ab
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxInline/inlineArgsInplace")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class InlineArgsInplace {
|
||||
@Test
|
||||
public void testAllFilesPresentInInlineArgsInplace() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/inlineArgsInplace"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callArgumentReordering.kt")
|
||||
public void testCallArgumentReordering() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/inlineArgsInplace/callArgumentReordering.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxInline/inlineClasses")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
+16
@@ -2311,6 +2311,22 @@ public class JvmIrAgainstOldBoxInlineTestGenerated extends AbstractJvmIrAgainstO
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxInline/inlineArgsInplace")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class InlineArgsInplace {
|
||||
@Test
|
||||
public void testAllFilesPresentInInlineArgsInplace() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/inlineArgsInplace"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_MULTI_MODULE_IR_AGAINST_OLD, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callArgumentReordering.kt")
|
||||
public void testCallArgumentReordering() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/inlineArgsInplace/callArgumentReordering.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxInline/inlineClasses")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
+16
@@ -2299,6 +2299,22 @@ public class JvmOldAgainstIrBoxInlineTestGenerated extends AbstractJvmOldAgainst
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxInline/inlineArgsInplace")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class InlineArgsInplace {
|
||||
@Test
|
||||
public void testAllFilesPresentInInlineArgsInplace() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/inlineArgsInplace"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_MULTI_MODULE_OLD_AGAINST_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callArgumentReordering.kt")
|
||||
public void testCallArgumentReordering() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/inlineArgsInplace/callArgumentReordering.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxInline/inlineClasses")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
Reference in New Issue
Block a user