コード例 #1
0
        protected override async Task <DiscoverTestsResponse> HandleRequest(DiscoverTestsRequest request, TestManager testManager)
        {
            if (testManager.IsConnected)
            {
                return(await testManager.DiscoverTestsAsync(request.RunSettings, request.TestFrameworkName, request.TargetFrameworkVersion, default(CancellationToken)));
            }

            throw new InvalidOperationException("The debugger could not be started");
        }