Added test with type alias
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
typealias Handler = (name: String) -> String
|
||||
|
||||
fun x(handler: Handler): String {
|
||||
return handler(<caret>)
|
||||
}
|
||||
|
||||
/*
|
||||
Text: (<highlight>name: String</highlight>), Disabled: false, Strikeout: false, Green: true
|
||||
*/
|
||||
@@ -112,6 +112,12 @@ public class ParameterInfoTestGenerated extends AbstractParameterInfoTest {
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("FunctionalValueAndTypeAlias.kt")
|
||||
public void testFunctionalValueAndTypeAlias() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/parameterInfo/functionCall/FunctionalValueAndTypeAlias.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("InheritedFunctions.kt")
|
||||
public void testInheritedFunctions() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/parameterInfo/functionCall/InheritedFunctions.kt");
|
||||
|
||||
Reference in New Issue
Block a user