65 references to CreateTestLspServerAsync
IdeBenchmarks (1)
Lsp\LspCompletionBenchmarks.cs (1)
76_testServer = await CreateTestLspServerAsync(markup, new LSP.VSInternalClientCapabilities
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (64)
CodeActions\CodeActionsTests.cs (1)
83await using var testLspServer = await CreateTestLspServerAsync(markup, CapabilitiesWithVSExtensions);
CodeLens\CSharpCodeLensTests.cs (12)
31await using var testLspServer = await CreateTestLspServerAsync(markup, CapabilitiesWithVSExtensions); 50await using var testLspServer = await CreateTestLspServerAsync(markup, CapabilitiesWithVSExtensions); 70await using var testLspServer = await CreateTestLspServerAsync(markup, CapabilitiesWithVSExtensions); 93await using var testLspServer = await CreateTestLspServerAsync(markup, CapabilitiesWithVSExtensions); 107await using var testLspServer = await CreateTestLspServerAsync(markup, CapabilitiesWithVSExtensions); 118await using var testLspServer = await CreateTestLspServerAsync(markup, CapabilitiesWithVSExtensions); 130await using var testLspServer = await CreateTestLspServerAsync(markup, CapabilitiesWithVSExtensions); 142await using var testLspServer = await CreateTestLspServerAsync(markup, CapabilitiesWithVSExtensions); 156await using var testLspServer = await CreateTestLspServerAsync(markup, CapabilitiesWithVSExtensions); 167await using var testLspServer = await CreateTestLspServerAsync(markup, CapabilitiesWithVSExtensions); 181await using var testLspServer = await CreateTestLspServerAsync(markup, CapabilitiesWithVSExtensions); 190await using var testLspServer = await CreateTestLspServerAsync(markup, CapabilitiesWithVSExtensions);
Completion\CompletionResolveTests.cs (6)
60await using var testLspServer = await CreateTestLspServerAsync(markup, clientCapabilities); 85await using var testLspServer = await CreateTestLspServerAsync(markup, new LSP.VSInternalClientCapabilities { SupportsVisualStudioExtensions = true }); 109await using var testLspServer = await CreateTestLspServerAsync(markup, new LSP.VSInternalClientCapabilities { SupportsVisualStudioExtensions = true }); 151await using var testLspServer = await CreateTestLspServerAsync(markup, clientCapabilities); 243await using var testLspServer = await CreateTestLspServerAsync(markup, clientCapabilities); 340await using var testLspServer = await CreateTestLspServerAsync(markup, new LSP.VSInternalClientCapabilities { SupportsVisualStudioExtensions = true });
Completion\CompletionTests.cs (28)
74await using var testLspServer = await CreateTestLspServerAsync(markup, clientCapabilities); 121await using var testLspServer = await CreateTestLspServerAsync(markup, clientCapabilities); 154await using var testLspServer = await CreateTestLspServerAsync(markup, s_vsCompletionCapabilities); 182await using var testLspServer = await CreateTestLspServerAsync(markup, s_vsCompletionCapabilities); 209await using var testLspServer = await CreateTestLspServerAsync(markup, s_vsCompletionCapabilities); 234await using var testLspServer = await CreateTestLspServerAsync(markup, s_vsCompletionCapabilities); 259await using var testLspServer = await CreateTestLspServerAsync(markup, s_vsCompletionCapabilities); 293await using var testLspServer = await CreateTestLspServerAsync(markup, s_vsCompletionCapabilities); 317await using var testLspServer = await CreateTestLspServerAsync(markup, s_vsCompletionCapabilities); 370await using var testLspServer = await CreateTestLspServerAsync(markup, s_vsCompletionCapabilities); 407await using var testLspServer = await CreateTestLspServerAsync(markup, s_vsCompletionCapabilities); 444await using var testLspServer = await CreateTestLspServerAsync(markup, s_vsCompletionCapabilities); 496await using var testLspServer = await CreateTestLspServerAsync(markup, clientCapabilities); 528await using var testLspServer = await CreateTestLspServerAsync(markup, s_vsCompletionCapabilities); 591await using var testLspServer = await CreateTestLspServerAsync(markup, s_vsCompletionCapabilities); 622await using var testLspServer = await CreateTestLspServerAsync(markup, s_vsCompletionCapabilities); 650await using var testLspServer = await CreateTestLspServerAsync(markup, s_vsCompletionCapabilities); 755await using var testLspServer = await CreateTestLspServerAsync(markup, s_vsCompletionCapabilities); 807await using var testLspServer = await CreateTestLspServerAsync(markup, s_vsCompletionCapabilities); 860await using var testLspServer = await CreateTestLspServerAsync(markup, s_vsCompletionCapabilities); 926await using var testLspServer = await CreateTestLspServerAsync(markup, s_vsCompletionCapabilities); 992await using var testLspServer = await CreateTestLspServerAsync(markup, s_vsCompletionCapabilities); 1087await using var testLspServer = await CreateTestLspServerAsync(markup, s_vsCompletionCapabilities); 1151await using var testLspServer = await CreateTestLspServerAsync(markup, s_vsCompletionCapabilities); 1210await using var testLspServer = await CreateTestLspServerAsync(markup, s_vsCompletionCapabilities); 1282await using var testLspServer = await CreateTestLspServerAsync(markup, s_vsCompletionCapabilities); 1336await using var testLspServer = await CreateTestLspServerAsync(markup, s_vsCompletionCapabilities); 1376await using var testLspServer = await CreateTestLspServerAsync(markup, s_vsCompletionCapabilities);
DocumentChanges\DocumentChangesTests.cs (1)
325var testLspServer = await CreateTestLspServerAsync(source, CapabilitiesWithVSExtensions);
Hover\HoverTests.cs (6)
40await using var testLspServer = await CreateTestLspServerAsync(markup, CapabilitiesWithVSExtensions); 64await using var testLspServer = await CreateTestLspServerAsync(markup, CapabilitiesWithVSExtensions); 87await using var testLspServer = await CreateTestLspServerAsync(markup, CapabilitiesWithVSExtensions); 115await using var testLspServer = await CreateTestLspServerAsync(markup, CapabilitiesWithVSExtensions); 241await using var testLspServer = await CreateTestLspServerAsync(markup, clientCapabilities); 371await using var testLspServer = await CreateTestLspServerAsync(markup, clientCapabilities);
References\FindAllReferencesHandlerFeaturesTests.cs (1)
49await using var testLspServer = await CreateTestLspServerAsync(markup, new LSP.ClientCapabilities());
References\FindAllReferencesHandlerTests.cs (8)
50await using var testLspServer = await CreateTestLspServerAsync(markup, CapabilitiesWithVSExtensions); 86await using var testLspServer = await CreateTestLspServerAsync(markup, CapabilitiesWithVSExtensions); 136await using var testLspServer = await CreateTestLspServerAsync(markup, CapabilitiesWithVSExtensions); 203await using var testLspServer = await CreateTestLspServerAsync(markup, CapabilitiesWithVSExtensions); 222await using var testLspServer = await CreateTestLspServerAsync(markup, CapabilitiesWithVSExtensions); 244await using var testLspServer = await CreateTestLspServerAsync(markup, CapabilitiesWithVSExtensions); 274await using var testLspServer = await CreateTestLspServerAsync(markup, CapabilitiesWithVSExtensions); 286await using var testLspServer = await CreateTestLspServerAsync(markup, CapabilitiesWithVSExtensions);
Symbols\DocumentSymbolsTests.cs (1)
44await using var testLspServer = await CreateTestLspServerAsync(markup, clientCapabilities);