Don't generate hash in sam wrapper class name

#KT-17091 Fixed
This commit is contained in:
Mikhael Bogdanov
2018-02-06 15:26:52 +01:00
parent ba5cc65792
commit 0954d1ab1b
21 changed files with 286 additions and 27 deletions
@@ -19185,6 +19185,24 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/sam"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true);
}
@TestMetadata("kt17091.kt")
public void testKt17091() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/sam/kt17091.kt");
doTest(fileName);
}
@TestMetadata("kt17091_2.kt")
public void testKt17091_2() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/sam/kt17091_2.kt");
doTest(fileName);
}
@TestMetadata("kt17091_3.kt")
public void testKt17091_3() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/sam/kt17091_3.kt");
doTest(fileName);
}
@TestMetadata("compiler/testData/codegen/box/sam/constructors")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)