Added some tests on local classes in inline bodies
This commit is contained in:
+25
@@ -41,6 +41,11 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/anonymousObject"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("anonymousObjectInDefault.kt")
|
||||
public void testAnonymousObjectInDefault() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/anonymousObject/anonymousObjectInDefault.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("anonymousObjectOnCallSite.kt")
|
||||
public void testAnonymousObjectOnCallSite() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/anonymousObject/anonymousObjectOnCallSite.kt");
|
||||
@@ -81,6 +86,16 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
|
||||
runTest("compiler/testData/codegen/boxInline/anonymousObject/capturedLambdaInInlineObject.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("capturedLocalFun.kt")
|
||||
public void testCapturedLocalFun() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/anonymousObject/capturedLocalFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("capturedLocalFunRef.kt")
|
||||
public void testCapturedLocalFunRef() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/anonymousObject/capturedLocalFunRef.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("changingReturnType.kt")
|
||||
public void testChangingReturnType() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/anonymousObject/changingReturnType.kt");
|
||||
@@ -271,11 +286,21 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
|
||||
runTest("compiler/testData/codegen/boxInline/anonymousObject/sam.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("sharedFromCrossinline.kt")
|
||||
public void testSharedFromCrossinline() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/anonymousObject/sharedFromCrossinline.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("superConstructorWithObjectParameter.kt")
|
||||
public void testSuperConstructorWithObjectParameter() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/anonymousObject/superConstructorWithObjectParameter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("typeInfo.kt")
|
||||
public void testTypeInfo() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/anonymousObject/typeInfo.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("withInlineMethod.kt")
|
||||
public void testWithInlineMethod() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/anonymousObject/withInlineMethod.kt");
|
||||
|
||||
Reference in New Issue
Block a user