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:
Nikolay Krasko
2017-04-13 20:07:03 +03:00
parent e1de0b9cd8
commit 6e3016284a
16 changed files with 86 additions and 34 deletions
@@ -0,0 +1,10 @@
// PSI_ELEMENT: com.intellij.psi.PsiMethod
// OPTIONS: usages
// PLAIN_WHEN_NEEDED
public class JavaWithGroovyInvoke_0 {
public void <caret>invoke() {
}
public static class OtherJavaClass extends JavaWithGroovyInvoke_0 {}
}