Add test for private inline class method call from inline lambda

This commit is contained in:
Dmitry Petrov
2018-09-24 10:22:50 +03:00
parent 2e6d53a43f
commit 88cc900dc7
6 changed files with 35 additions and 0 deletions
@@ -10447,6 +10447,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
KotlinTestUtils.runTest0(this::doTest, TargetBackend.JS_IR, testDataFilePath);
}
@TestMetadata("accessPrivateInlineClassMethodFromInlineLambdaInInlineClass.kt")
public void testAccessPrivateInlineClassMethodFromInlineLambdaInInlineClass() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassMethodFromInlineLambdaInInlineClass.kt");
}
public void testAllFilesPresentInContextsAndAccessors() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/contextsAndAccessors"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JS_IR, true);
}
@@ -11492,6 +11492,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
KotlinTestUtils.runTest0(this::doTest, TargetBackend.JS, testDataFilePath);
}
@TestMetadata("accessPrivateInlineClassMethodFromInlineLambdaInInlineClass.kt")
public void testAccessPrivateInlineClassMethodFromInlineLambdaInInlineClass() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassMethodFromInlineLambdaInInlineClass.kt");
}
public void testAllFilesPresentInContextsAndAccessors() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/contextsAndAccessors"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JS, true);
}