Stub tests: test for parameters with fq name
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
PsiJetFileStubImpl[package=test]
|
||||
CLASS:PsiJetClassStubImpl[name=A fqn=test.A superNames=[]]
|
||||
VALUE_PARAMETER_LIST:PsiJetParameterListStubImpl
|
||||
VALUE_PARAMETER:PsiJetParameterStubImpl[val name=b fqName=test.A.b typeText=Int defaultValue=null]
|
||||
VALUE_PARAMETER:PsiJetParameterStubImpl[var name=c fqName=test.A.c typeText=String defaultValue=null]
|
||||
VALUE_PARAMETER:PsiJetParameterStubImpl[val name=justParam typeText=Int defaultValue=null]
|
||||
CLASS_BODY:PsiJetClassBodyStubImpl
|
||||
@@ -0,0 +1,4 @@
|
||||
package test
|
||||
|
||||
class A(val b: Int, var c: String, justParam: Int) {
|
||||
}
|
||||
@@ -141,6 +141,11 @@ public class StubBuilderTestGenerated extends AbstractStubBuilderTest {
|
||||
doTest("idea/testData/stubs/PackageProperty.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ParametersWithFqName.kt")
|
||||
public void testParametersWithFqName() throws Exception {
|
||||
doTest("idea/testData/stubs/ParametersWithFqName.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("QualifiedAnnotationOnFunction.kt")
|
||||
public void testQualifiedAnnotationOnFunction() throws Exception {
|
||||
doTest("idea/testData/stubs/QualifiedAnnotationOnFunction.kt");
|
||||
|
||||
Reference in New Issue
Block a user