Minor: add test for primary constructor default parameter values.

This commit is contained in:
Dmitry Petrov
2016-09-12 13:05:43 +03:00
committed by Dmitry Petrov
parent 201d2414bc
commit 1a3dedaf1c
3 changed files with 24 additions and 0 deletions
@@ -226,6 +226,12 @@ public class IrTextTestCaseGenerated extends AbstractIrTextTestCase {
doTest(fileName);
}
@TestMetadata("primaryCtorDefaultArguments.kt")
public void testPrimaryCtorDefaultArguments() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/ir/irText/declarations/primaryCtorDefaultArguments.kt");
doTest(fileName);
}
@TestMetadata("primaryCtorProperties.kt")
public void testPrimaryCtorProperties() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/ir/irText/declarations/primaryCtorProperties.kt");