void () { initProject("findManager", "src", "src1"); String projectDir = FileUtil.toSystemDependentName(PathManagerEx.getTestDataPath() + "/find/findManager"); FindModel findModel = new FindModel(); findModel.setStringToFind("done"); findModel.setWholeWordsOnly(false); findModel.setFromCursor(false); findModel.setGlobal(true); findModel.setMultipleFiles(true); findModel.setProjectScope(true); findModel.setDirectoryName(projectDir + File.separatorChar + "src1"); findModel.setWithSubdirectories(true); checkFindUsages(12, findModel); findModel.setFromCursor(false); findModel.setGlobal(true); findModel.setMultipleFiles(true); findModel.setProjectScope(false); findModel.setDirectoryName(projectDir + File.separatorChar + "src1"); findModel.setWithSubdirectories(true); checkFindUsages(6, findModel); findModel.setWholeWordsOnly(true); checkFindUsages(5, findModel); }