Inline refactoring: more templates for captured fields
Support of complex lambda inlining cases
This commit is contained in:
+10
@@ -41,6 +41,11 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxCodegenT
|
||||
doTestMultiFile("compiler/testData/codegen/boxInline/builders");
|
||||
}
|
||||
|
||||
@TestMetadata("buildersAndLambdaCapturing")
|
||||
public void testBuildersAndLambdaCapturing() throws Exception {
|
||||
doTestMultiFile("compiler/testData/codegen/boxInline/buildersAndLambdaCapturing");
|
||||
}
|
||||
|
||||
@TestMetadata("captureInlinable")
|
||||
public void testCaptureInlinable() throws Exception {
|
||||
doTestMultiFile("compiler/testData/codegen/boxInline/captureInlinable");
|
||||
@@ -141,6 +146,11 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxCodegenT
|
||||
doTestMultiFile("compiler/testData/codegen/boxInline/noInlineLambdaChain");
|
||||
}
|
||||
|
||||
@TestMetadata("noInlineLambdaChainWithCapturedInline")
|
||||
public void testNoInlineLambdaChainWithCapturedInline() throws Exception {
|
||||
doTestMultiFile("compiler/testData/codegen/boxInline/noInlineLambdaChainWithCapturedInline");
|
||||
}
|
||||
|
||||
@TestMetadata("noInlineLambdaX2")
|
||||
public void testNoInlineLambdaX2() throws Exception {
|
||||
doTestMultiFile("compiler/testData/codegen/boxInline/noInlineLambdaX2");
|
||||
|
||||
+10
@@ -41,6 +41,11 @@ public class CompileKotlinAgainstInlineKotlinTestGenerated extends AbstractCompi
|
||||
doBoxTest("compiler/testData/codegen/boxInline/builders");
|
||||
}
|
||||
|
||||
@TestMetadata("buildersAndLambdaCapturing")
|
||||
public void testBuildersAndLambdaCapturing() throws Exception {
|
||||
doBoxTest("compiler/testData/codegen/boxInline/buildersAndLambdaCapturing");
|
||||
}
|
||||
|
||||
@TestMetadata("captureInlinable")
|
||||
public void testCaptureInlinable() throws Exception {
|
||||
doBoxTest("compiler/testData/codegen/boxInline/captureInlinable");
|
||||
@@ -141,6 +146,11 @@ public class CompileKotlinAgainstInlineKotlinTestGenerated extends AbstractCompi
|
||||
doBoxTest("compiler/testData/codegen/boxInline/noInlineLambdaChain");
|
||||
}
|
||||
|
||||
@TestMetadata("noInlineLambdaChainWithCapturedInline")
|
||||
public void testNoInlineLambdaChainWithCapturedInline() throws Exception {
|
||||
doBoxTest("compiler/testData/codegen/boxInline/noInlineLambdaChainWithCapturedInline");
|
||||
}
|
||||
|
||||
@TestMetadata("noInlineLambdaX2")
|
||||
public void testNoInlineLambdaX2() throws Exception {
|
||||
doBoxTest("compiler/testData/codegen/boxInline/noInlineLambdaX2");
|
||||
|
||||
Reference in New Issue
Block a user