Test for no annotations rendered in parameter info
This commit is contained in:
@@ -0,0 +1,6 @@
|
|||||||
|
fun foo(inlineOptions p: () -> Unit){}
|
||||||
|
|
||||||
|
fun bar() {
|
||||||
|
foo(<caret>)
|
||||||
|
}
|
||||||
|
//Text: (<highlight>p: () -> Unit</highlight>), Disabled: false, Strikeout: false, Green: true
|
||||||
+6
@@ -77,6 +77,12 @@ public class FunctionParameterInfoTestGenerated extends AbstractFunctionParamete
|
|||||||
doTest(fileName);
|
doTest(fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("NoAnnotations.kt")
|
||||||
|
public void testNoAnnotations() throws Exception {
|
||||||
|
String fileName = JetTestUtils.navigationMetadata("idea/testData/parameterInfo/functionParameterInfo/NoAnnotations.kt");
|
||||||
|
doTest(fileName);
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("NotAccessible.kt")
|
@TestMetadata("NotAccessible.kt")
|
||||||
public void testNotAccessible() throws Exception {
|
public void testNotAccessible() throws Exception {
|
||||||
String fileName = JetTestUtils.navigationMetadata("idea/testData/parameterInfo/functionParameterInfo/NotAccessible.kt");
|
String fileName = JetTestUtils.navigationMetadata("idea/testData/parameterInfo/functionParameterInfo/NotAccessible.kt");
|
||||||
|
|||||||
Reference in New Issue
Block a user