Test find usages behaviour when failing to text search on Groovy files
Set test directory to directory with test files (not relative to findUsages folder). This way test will be configured as if all testdata is under source root (previously it was copied into package under path with findUsages) and resolvers will see classes under root package. #KT-14974 In Progress
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
fun f(c: JavaWithGroovyInvoke_0) {
|
||||
c()
|
||||
}
|
||||
|
||||
fun foo(o: JavaWithGroovyInvoke_0.OtherJavaClass) {
|
||||
o()
|
||||
}
|
||||
|
||||
fun gr(o: GroovyClass) {
|
||||
o()
|
||||
|
||||
o.fieldNoType() // Red reference
|
||||
o.fieldWithType()
|
||||
|
||||
o.methodNoType()() // Red reference
|
||||
o.methodWithType()()
|
||||
}
|
||||
Reference in New Issue
Block a user