JVM_IR KT-47984 inplace arguments inlining for @InlineOnly functions
This commit is contained in:
committed by
TeamCityServer
parent
ec90649854
commit
b01c13a4df
+33
@@ -14977,6 +14977,39 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/inlineArgsInPlace")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class InlineArgsInPlace extends AbstractLightAnalysisModeTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInInlineArgsInPlace() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineArgsInPlace"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("breakInArgumentExpression.kt")
|
||||
public void testBreakInArgumentExpression() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineArgsInPlace/breakInArgumentExpression.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("continueInArgumentExpression.kt")
|
||||
public void testContinueInArgumentExpression() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineArgsInPlace/continueInArgumentExpression.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("mapSet.kt")
|
||||
public void testMapSet() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineArgsInPlace/mapSet.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("mutableCollectionPlusAssign.kt")
|
||||
public void testMutableCollectionPlusAssign() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineArgsInPlace/mutableCollectionPlusAssign.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/inlineClasses")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
|
||||
Reference in New Issue
Block a user