Mcp\ExcludeFromMcpTests.cs (26)
113WaitingFor = [SecretServiceName],
125Name = SecretServiceName,
167Name = SecretServiceName,
213Name = SecretServiceName,
223LogLines = [new ResourceLogLine { Content = "secret log", IsError = false, ResourceName = SecretServiceName, LineNumber = 1 }]
230["resourceName"] = JsonDocument.Parse($"\"{SecretServiceName}\"").RootElement
238Assert.Equal(McpToolHelpers.GetResourceNotAvailableMessage(SecretServiceName), textContent.Text);
285Name = SecretServiceName,
301using var doc = JsonDocument.Parse($$"""{"resourceName": "{{SecretServiceName}}", "commandName": "restart"}""");
310Assert.Equal(McpToolHelpers.GetResourceNotAvailableMessage(SecretServiceName), textContent.Text);
317var (mockHttpClientFactory, _) = CreateMockHttpWithLogs(SecretServiceName);
322["resourceName"] = JsonDocument.Parse($"\"{SecretServiceName}\"").RootElement
330Assert.Equal(McpToolHelpers.GetResourceNotAvailableMessage(SecretServiceName), textContent.Text);
337var (mockHttpClientFactory, _) = CreateMockHttpWithLogs(ApiServiceName, SecretServiceName);
347Assert.DoesNotContain(SecretServiceName, textContent.Text);
354var (mockHttpClientFactory, _) = CreateMockHttpWithTraces(SecretServiceName);
359["resourceName"] = JsonDocument.Parse($"\"{SecretServiceName}\"").RootElement
367Assert.Equal(McpToolHelpers.GetResourceNotAvailableMessage(SecretServiceName), textContent.Text);
374var (mockHttpClientFactory, _) = CreateMockHttpWithTraces(ApiServiceName, SecretServiceName);
384Assert.DoesNotContain(SecretServiceName, textContent.Text);
391var (mockHttpClientFactory, _) = CreateMockHttpWithLogs(ApiServiceName, SecretServiceName);
405Assert.DoesNotContain(SecretServiceName, textContent.Text);
431Name = SecretServiceName,
440var (mockHttpClientFactory, _) = CreateMockHttpWithLogs(ApiServiceName, SecretServiceName);
454Assert.Contains(SecretServiceName, textContent.Text);
479Name = SecretServiceName,