use of com.intellij.ide.ui.search.ConfigurableHit in project intellij-community by JetBrains.
the class SearchableOptionsTest method testFindCodeTemplates.
public void testFindCodeTemplates() {
ConfigurableGroup[] groups = ShowSettingsUtilImpl.getConfigurableGroups(getProject(), false);
ConfigurableHit configurables = SearchableOptionsRegistrar.getInstance().getConfigurables(groups, DocumentEvent.EventType.INSERT, null, "method", getProject());
Set<Configurable> configurableSet = configurables.getAll();
for (Configurable configurable : configurableSet) {
if (configurable.getDisplayName().equals(new AllFileTemplatesConfigurable(getProject()).getDisplayName())) {
return;
}
}
fail("File Templates are not found");
}
Aggregations