Added test

This commit is contained in:
Valentin Kipyatkov
2015-10-07 15:06:53 +03:00
parent 016401a2b7
commit 9d51e8e0e6
2 changed files with 15 additions and 0 deletions
@@ -0,0 +1,9 @@
open class B(p: Int)
val pInt = 0
val pString = ""
class C : B(<caret>)
// EXIST: pInt
// ABSENT: pString
@@ -473,6 +473,12 @@ public class JvmSmartCompletionTestGenerated extends AbstractJvmSmartCompletionT
doTest(fileName);
}
@TestMetadata("SuperConstructorArgumentInClassHeader.kt")
public void testSuperConstructorArgumentInClassHeader() throws Exception {
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/smart/SuperConstructorArgumentInClassHeader.kt");
doTest(fileName);
}
@TestMetadata("ThisConstructorArgument.kt")
public void testThisConstructorArgument() throws Exception {
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/smart/ThisConstructorArgument.kt");