Package org.eclipse.search.core.text

Examples of org.eclipse.search.core.text.TextSearchEngine.search()


  private TestCaseFinderResult searchInFiles(IFile[] loadedFiles,
      String testCaseName, String testName) {
    TextSearchEngine engine = TextSearchEngine.create();
    TestCaseSearchRequestor requestor = new TestCaseSearchRequestor();
    engine.search(loadedFiles, requestor, createPattern(testCaseName, testName),
        new NullProgressMonitor());
    return requestor.getResult();
  }

  private Pattern createPattern(String testCaseName, String testName) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.