use of org.eclipse.search.internal.ui.text.FileSearchQuery in project eclipse.platform.text by eclipse.
the class ResultUpdaterTest method setUp.
@Before
public void setUp() throws Exception {
// create a own project to make modifications
fProject = ResourceHelper.createJUnitSourceProject(PROJECT_TO_MODIFY);
String[] fileNamePatterns = { "*.java" };
FileTextSearchScope scope = FileTextSearchScope.newSearchScope(new IResource[] { fProject }, fileNamePatterns, false);
fQuery1 = new FileSearchQuery("Test", false, true, scope);
}
use of org.eclipse.search.internal.ui.text.FileSearchQuery in project eclipse.platform.text by eclipse.
the class SearchResultPageTest method setUp.
@Before
public void setUp() throws Exception {
SearchTestPlugin.ensureWelcomePageClosed();
String[] fileNamePatterns = { "*.java" };
FileTextSearchScope scope = FileTextSearchScope.newWorkspaceScope(fileNamePatterns, false);
fQuery1 = new FileSearchQuery("Test", false, true, scope);
}
Aggregations