mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
test for reg exp search not to use id index when there is no trigrams available
This commit is contained in:
@@ -556,6 +556,11 @@ public class FindManagerTest extends DaemonAnalyzerTestCase {
|
||||
|
||||
findModel.setWholeWordsOnly(true);
|
||||
assertSize(2, findUsages(findModel));
|
||||
|
||||
findModel.setWholeWordsOnly(false);
|
||||
findModel.setRegularExpressions(true);
|
||||
findModel.setStringToFind("Ta(rgetWord)");
|
||||
assertSize(2, findUsages(findModel));
|
||||
}
|
||||
|
||||
public void testLocalScopeSearchPerformance() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user