mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-18 12:31:26 +07:00
provide types for Java fields
This commit is contained in:
@@ -64,6 +64,12 @@ public class PyToJavaResolveTest extends ResolveTestCase {
|
||||
Assert.assertEquals("size", ((PsiMethod) target).getName());
|
||||
}
|
||||
|
||||
public void testFieldType() throws Exception {
|
||||
PsiElement target = resolve();
|
||||
Assert.assertTrue(target instanceof PsiMethod);
|
||||
Assert.assertEquals("println", ((PsiMethod) target).getName());
|
||||
}
|
||||
|
||||
@Override
|
||||
protected String getTestDataPath() {
|
||||
return PythonTestUtil.getTestDataPath() + "/resolve/pyToJava/";
|
||||
|
||||
Reference in New Issue
Block a user