Added some tests on local classes in inline bodies
This commit is contained in:
Generated
+25
@@ -41,6 +41,11 @@ public class IrJsCodegenInlineTestGenerated extends AbstractIrJsCodegenInlineTes
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/anonymousObject"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, 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 IrJsCodegenInlineTestGenerated extends AbstractIrJsCodegenInlineTes
|
||||
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");
|
||||
@@ -246,11 +261,21 @@ public class IrJsCodegenInlineTestGenerated extends AbstractIrJsCodegenInlineTes
|
||||
runTest("compiler/testData/codegen/boxInline/anonymousObject/safeCall_2.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");
|
||||
|
||||
+25
@@ -41,6 +41,11 @@ public class JsCodegenInlineTestGenerated extends AbstractJsCodegenInlineTest {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/anonymousObject"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, 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 JsCodegenInlineTestGenerated extends AbstractJsCodegenInlineTest {
|
||||
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");
|
||||
@@ -246,11 +261,21 @@ public class JsCodegenInlineTestGenerated extends AbstractJsCodegenInlineTest {
|
||||
runTest("compiler/testData/codegen/boxInline/anonymousObject/safeCall_2.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