One more test
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
package dependency
|
||||
|
||||
object AnObject
|
||||
|
||||
val Foo.extProp: () -> Unit get() = {}
|
||||
@@ -0,0 +1,5 @@
|
||||
import dependency.extProp
|
||||
|
||||
fun foo() {
|
||||
<selection>dependency.AnObject.extProp()</selection>
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
import dependency.AnObject
|
||||
import dependency.extProp
|
||||
|
||||
fun foo() {
|
||||
AnObject.extProp()
|
||||
}
|
||||
@@ -71,6 +71,12 @@ public class ShortenRefsTestGenerated extends AbstractShortenRefsTest {
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("extensionForObject2.kt")
|
||||
public void testExtensionForObject2() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/shortenRefs/extensionForObject2.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("extensionFunctionVarInvokedWithQualifier.kt")
|
||||
public void testExtensionFunctionVarInvokedWithQualifier() throws Exception {
|
||||
runTest("idea/testData/shortenRefs/extensionFunctionVarInvokedWithQualifier.kt");
|
||||
|
||||
Reference in New Issue
Block a user