4 instantiations of TestResponse
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (4)
Ordering\LongRunningNonMutatingRequestHandler.cs (1)
37
return Task.FromResult(new
TestResponse
());
Ordering\MutatingRequestHandler.cs (1)
32
var response = new
TestResponse
Ordering\NonLSPSolutionRequestHandlerProvider.cs (1)
34
return Task.FromResult(new
TestResponse
());
Ordering\NonMutatingRequestHandler.cs (1)
32
var response = new
TestResponse
();
19 references to TestResponse
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (19)
Ordering\FailingMutatingRequestHandler.cs (2)
16
internal class FailingMutatingRequestHandler : ILspServiceRequestHandler<TestRequest,
TestResponse
>
30
public async Task<
TestResponse
> HandleRequestAsync(TestRequest request, RequestContext context, CancellationToken cancellationToken)
Ordering\FailingRequestHandler.cs (2)
16
internal class FailingRequestHandler : ILspServiceRequestHandler<TestRequest,
TestResponse
>
30
public async Task<
TestResponse
> HandleRequestAsync(TestRequest request, RequestContext context, CancellationToken cancellationToken)
Ordering\LongRunningNonMutatingRequestHandler.cs (2)
17
internal class LongRunningNonMutatingRequestHandler : ILspServiceRequestHandler<TestRequest,
TestResponse
>
31
public Task<
TestResponse
> HandleRequestAsync(TestRequest request, RequestContext context, CancellationToken cancellationToken)
Ordering\MutatingRequestHandler.cs (3)
16
internal class MutatingRequestHandler : ILspServiceRequestHandler<TestRequest,
TestResponse
>
30
public async Task<
TestResponse
> HandleRequestAsync(TestRequest request, RequestContext context, CancellationToken cancellationToken)
32
var
response = new TestResponse
Ordering\NonLSPSolutionRequestHandlerProvider.cs (2)
17
internal class NonLSPSolutionRequestHandler : ILspServiceRequestHandler<TestRequest,
TestResponse
>
30
public Task<
TestResponse
> HandleRequestAsync(TestRequest request, RequestContext context, CancellationToken cancellationToken)
Ordering\NonMutatingRequestHandler.cs (3)
16
internal class NonMutatingRequestHandler : ILspServiceRequestHandler<TestRequest,
TestResponse
>
30
public async Task<
TestResponse
> HandleRequestAsync(TestRequest request, RequestContext context, CancellationToken cancellationToken)
32
var
response = new TestResponse();
Ordering\RequestOrderingTests.cs (5)
271
var response = await testLspServer.ExecuteRequestAsync<TestRequest,
TestResponse
>(request.MethodName, request, CancellationToken.None);
283
private static async Task<
TestResponse
[]> TestAsync(TestLspServer testLspServer, TestRequest[] requests)
297
private static List<Task<
TestResponse
?>> StartTestRun(TestLspServer testLspServer, TestRequest[] requests, CancellationToken cancellationToken = default)
299
var waitables = new List<Task<
TestResponse
?>>();
301
waitables.Add(testLspServer.ExecuteRequestAsync<TestRequest,
TestResponse
>(request.MethodName, request, cancellationToken));