mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 08:50:57 +07:00
resolve Java methods in a Python class inherited from a Java class
This commit is contained in:
@@ -58,6 +58,12 @@ public class PyToJavaResolveTest extends ResolveTestCase {
|
||||
Assert.assertEquals("java.lang", ((PsiPackage) target).getQualifiedName());
|
||||
}
|
||||
|
||||
public void testSuperMethod() throws Exception {
|
||||
PsiElement target = resolve();
|
||||
Assert.assertTrue(target instanceof PsiMethod);
|
||||
Assert.assertEquals("size", ((PsiMethod) target).getName());
|
||||
}
|
||||
|
||||
@Override
|
||||
protected String getTestDataPath() {
|
||||
return PythonTestUtil.getTestDataPath() + "/resolve/pyToJava/";
|
||||
|
||||
Reference in New Issue
Block a user