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