2 instantiations of TestExampleLanguageServer
Microsoft.CommonLanguageServerProtocol.Framework.UnitTests (2)
TestExampleLanguageServer.cs (2)
125
var server = new
TestExampleLanguageServer
(clientStream, jsonRpc, messageFormatter.JsonSerializerOptions, logger, extraHandlers);
139
var server = new
TestExampleLanguageServer
(clientStream, jsonRpc, messageFormatter.JsonSerializerOptions, logger, addExtraHandlers: null);
11 references to TestExampleLanguageServer
Microsoft.CommonLanguageServerProtocol.Framework.UnitTests (11)
ExampleTests.cs (7)
21
var ex = Assert.Throws<InvalidOperationException>(() =>
TestExampleLanguageServer
.CreateBadLanguageServer(logger));
31
var
server =
TestExampleLanguageServer
.CreateLanguageServer(logger);
53
var
server =
TestExampleLanguageServer
.CreateLanguageServer(logger);
63
var
server =
TestExampleLanguageServer
.CreateLanguageServer(logger);
TestExampleLanguageServer.cs (4)
113
internal static
TestExampleLanguageServer
CreateBadLanguageServer(ILspLogger logger)
125
var
server = new TestExampleLanguageServer(clientStream, jsonRpc, messageFormatter.JsonSerializerOptions, logger, extraHandlers);
132
internal static
TestExampleLanguageServer
CreateLanguageServer(ILspLogger logger)
139
var
server = new TestExampleLanguageServer(clientStream, jsonRpc, messageFormatter.JsonSerializerOptions, logger, addExtraHandlers: null);