Search in sources :

Example 1 with GotoClassModel2

use of com.intellij.ide.util.gotoByName.GotoClassModel2 in project intellij-plugins by JetBrains.

the class FlexScopeTest method testGotoClass.

public void testGotoClass() throws Exception {
    prepareTwoSdks();
    GotoClassModel2 model = new GotoClassModel2(myProject);
    Object[] elements = model.getElementsByName("Application", true, "");
    assertEquals(4, elements.length);
}
Also used : GotoClassModel2(com.intellij.ide.util.gotoByName.GotoClassModel2)

Example 2 with GotoClassModel2

use of com.intellij.ide.util.gotoByName.GotoClassModel2 in project kotlin by JetBrains.

the class AbstractKotlinGotoTest method doClassTest.

protected void doClassTest(String path) {
    myFixture.configureByFile(path);
    assertGotoSymbol(new GotoClassModel2(getProject()), myFixture.getEditor());
}
Also used : GotoClassModel2(com.intellij.ide.util.gotoByName.GotoClassModel2)

Aggregations

GotoClassModel2 (com.intellij.ide.util.gotoByName.GotoClassModel2)2