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
@@ -11907,6 +11907,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, 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.JVM, true);
}