1 instantiation of TestParameterlessNotificationHandler
Microsoft.CommonLanguageServerProtocol.Framework.UnitTests (1)
Mocks\TestMethodHandlers.cs (1)
63
public static readonly IMethodHandler Instance = new
TestParameterlessNotificationHandler
();
7 references to TestParameterlessNotificationHandler
Microsoft.CommonLanguageServerProtocol.Framework.UnitTests (7)
HandlerProviderTests.cs (4)
46
var methodHandler = handlerProvider.GetMethodHandler(
TestParameterlessNotificationHandler
.Name, requestTypeRef: null, responseTypeRef: null, LanguageServerConstants.DefaultLanguageName);
47
Assert.Same(
TestParameterlessNotificationHandler
.Instance, methodHandler);
77
r => Assert.Equal(
TestParameterlessNotificationHandler
.Name, r.MethodName));
105
(typeof(IMethodHandler),
TestParameterlessNotificationHandler
.Instance),
RequestExecutionQueueTests.cs (3)
131
var requestExecutionQueue = GetRequestExecutionQueue(false, (
TestParameterlessNotificationHandler
.Metadata,
TestParameterlessNotificationHandler
.Instance));
134
var response = await requestExecutionQueue.ExecuteAsync(serializedRequest: null,
TestParameterlessNotificationHandler
.Name, lspServices, CancellationToken.None);