Add parameter info test for #KT-14484 Obsolete
This commit is contained in:
committed by
Mikhail Glukhikh
parent
c92aa1a62d
commit
bc071bf543
@@ -0,0 +1,13 @@
|
|||||||
|
// See KT-14484
|
||||||
|
|
||||||
|
class C {
|
||||||
|
fun isEqualKey(key1: Any?, key2: Any?): Boolean {
|
||||||
|
if (key1 is String && key2 is String) {
|
||||||
|
return key1.equals(key2, <caret>)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
Text: (other: Any?), Disabled: true, Strikeout: false, Green: true
|
||||||
|
Text: (other: String?, <highlight>ignoreCase: Boolean = false</highlight>), Disabled: false, Strikeout: false, Green: false
|
||||||
|
*/
|
||||||
@@ -323,6 +323,12 @@ public class ParameterInfoTestGenerated extends AbstractParameterInfoTest {
|
|||||||
doTest(fileName);
|
doTest(fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("TwoSmartCasts.kt")
|
||||||
|
public void testTwoSmartCasts() throws Exception {
|
||||||
|
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/parameterInfo/functionCall/TwoSmartCasts.kt");
|
||||||
|
doTest(fileName);
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("TypeAliasConstructor.kt")
|
@TestMetadata("TypeAliasConstructor.kt")
|
||||||
public void testTypeAliasConstructor() throws Exception {
|
public void testTypeAliasConstructor() throws Exception {
|
||||||
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/parameterInfo/functionCall/TypeAliasConstructor.kt");
|
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/parameterInfo/functionCall/TypeAliasConstructor.kt");
|
||||||
|
|||||||
Reference in New Issue
Block a user