4 instantiations of TestRequestTypeOne
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (4)
10 references to TestRequestTypeOne
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (10)
HandlerTests.cs (10)
44var request = new TestRequestTypeOne(new TextDocumentIdentifier
48var response = await server.ExecuteRequestAsync<TestRequestTypeOne, string>(TestDocumentHandler.MethodName, request, CancellationToken.None);
66var request = new TestRequestTypeOne(new TextDocumentIdentifier
91var request = new TestRequestTypeOne(new TextDocumentIdentifier
95var response = await server.ExecuteRequestAsync<TestRequestTypeOne, string>(TestDocumentHandler.MethodName, request, CancellationToken.None);
291var request = new TestRequestTypeOne(new TextDocumentIdentifier
296await Assert.ThrowsAnyAsync<Exception>(async () => await testLspServer.ExecuteRequestAsync<TestRequestTypeOne, string>(TestDocumentHandler.MethodName, request, CancellationToken.None)).ConfigureAwait(false);
310internal sealed class TestDocumentHandler() : ILspServiceDocumentRequestHandler<TestRequestTypeOne, string>
317public TextDocumentIdentifier GetTextDocumentIdentifier(TestRequestTypeOne request)
322public Task<string> HandleRequestAsync(TestRequestTypeOne request, RequestContext context, CancellationToken cancellationToken)