KT-5699 VerifyError in inlines

#KT-5699 Fixed
This commit is contained in:
Michael Bogdanov
2014-08-29 10:15:49 +04:00
parent d80907543f
commit 83eb983e08
10 changed files with 118 additions and 6 deletions
@@ -157,11 +157,21 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxCodegenT
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/defaultValues"), Pattern.compile("^(.+)\\.1.kt$"), true);
}
@TestMetadata("defaultInExtension.1.kt")
public void testDefaultInExtension() throws Exception {
doTestMultiFileWithInlineCheck("compiler/testData/codegen/boxInline/defaultValues/defaultInExtension.1.kt");
}
@TestMetadata("defaultMethod.1.kt")
public void testDefaultMethod() throws Exception {
doTestMultiFileWithInlineCheck("compiler/testData/codegen/boxInline/defaultValues/defaultMethod.1.kt");
}
@TestMetadata("defaultMethodInClass.1.kt")
public void testDefaultMethodInClass() throws Exception {
doTestMultiFileWithInlineCheck("compiler/testData/codegen/boxInline/defaultValues/defaultMethodInClass.1.kt");
}
@TestMetadata("inlineInDefaultParameter.1.kt")
public void testInlineInDefaultParameter() throws Exception {
doTestMultiFileWithInlineCheck("compiler/testData/codegen/boxInline/defaultValues/inlineInDefaultParameter.1.kt");
@@ -157,11 +157,21 @@ public class CompileKotlinAgainstInlineKotlinTestGenerated extends AbstractCompi
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/defaultValues"), Pattern.compile("^(.+)\\.1.kt$"), true);
}
@TestMetadata("defaultInExtension.1.kt")
public void testDefaultInExtension() throws Exception {
doBoxTestWithInlineCheck("compiler/testData/codegen/boxInline/defaultValues/defaultInExtension.1.kt");
}
@TestMetadata("defaultMethod.1.kt")
public void testDefaultMethod() throws Exception {
doBoxTestWithInlineCheck("compiler/testData/codegen/boxInline/defaultValues/defaultMethod.1.kt");
}
@TestMetadata("defaultMethodInClass.1.kt")
public void testDefaultMethodInClass() throws Exception {
doBoxTestWithInlineCheck("compiler/testData/codegen/boxInline/defaultValues/defaultMethodInClass.1.kt");
}
@TestMetadata("inlineInDefaultParameter.1.kt")
public void testInlineInDefaultParameter() throws Exception {
doBoxTestWithInlineCheck("compiler/testData/codegen/boxInline/defaultValues/inlineInDefaultParameter.1.kt");