Package com.intellij.ide.util.gotoByName

Examples of com.intellij.ide.util.gotoByName.GotoSymbolModel2


  private void runGotoTest(final String strutsXmlContent,
                           final String... expectedSymbols) {
    final PsiFile file = myFixture.configureByText(getTestName(true) + "-struts.xml", strutsXmlContent);
    createStrutsFileSet(file.getName());

    final GotoSymbolModel2 model2 = new GotoSymbolModel2(getProject());
    final String[] names = model2.getNames(false);

    for (final String expectedSymbol : expectedSymbols) {
      assertTrue(expectedSymbol, ArrayUtil.contains(expectedSymbol, names));
    }
  }
View Full Code Here

TOP

Related Classes of com.intellij.ide.util.gotoByName.GotoSymbolModel2

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.