mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Added circular import resolution test that now passes.
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
import x
|
||||
|
||||
x.y.z.token
|
||||
# <ref>
|
||||
@@ -0,0 +1,2 @@
|
||||
import y
|
||||
X = "X"
|
||||
@@ -0,0 +1,3 @@
|
||||
import z
|
||||
|
||||
Y="Y"
|
||||
@@ -0,0 +1,3 @@
|
||||
import x
|
||||
token="Z"
|
||||
|
||||
@@ -89,14 +89,12 @@ public class PyMultiFileResolveTest extends CodeInsightTestCase {
|
||||
assertTrue(element instanceof PyFunction);
|
||||
}
|
||||
|
||||
/*
|
||||
// Currently fails due to inadequate stubs
|
||||
public void testCircularImport() throws Exception {
|
||||
PsiElement element = doResolve();
|
||||
assertTrue(element instanceof PyTargetExpression);
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
|
||||
private PsiElement doResolve() throws Exception {
|
||||
String testName = getTestName(true);
|
||||
|
||||
Reference in New Issue
Block a user