use of org.eclipse.lsp4j.SymbolTagSupportCapabilities in project eclipse.jdt.ls by eclipse.
the class ClientPreferencesTest method testIsSymbolTagSupported.
@Test
public void testIsSymbolTagSupported() throws Exception {
assertFalse(prefs.isSymbolTagSupported());
DocumentSymbolCapabilities capabilities = new DocumentSymbolCapabilities();
when(text.getDocumentSymbol()).thenReturn(capabilities);
capabilities.setTagSupport(new SymbolTagSupportCapabilities());
assertTrue(prefs.isSymbolTagSupported());
}
Aggregations