Mcp\ExcludeFromMcpTests.cs (26)
114Name = SecretServiceName,
134Assert.DoesNotContain(SecretServiceName, textContent.Text);
147Name = SecretServiceName,
179Name = SecretServiceName,
189LogLines = [new ResourceLogLine { Content = "secret log", IsError = false, ResourceName = SecretServiceName, LineNumber = 1 }]
196["resourceName"] = JsonDocument.Parse($"\"{SecretServiceName}\"").RootElement
204Assert.Equal(McpToolHelpers.GetResourceNotAvailableMessage(SecretServiceName), textContent.Text);
251Name = SecretServiceName,
267using var doc = JsonDocument.Parse($$"""{"resourceName": "{{SecretServiceName}}", "commandName": "restart"}""");
276Assert.Equal(McpToolHelpers.GetResourceNotAvailableMessage(SecretServiceName), textContent.Text);
283var (mockHttpClientFactory, _) = CreateMockHttpWithLogs(SecretServiceName);
288["resourceName"] = JsonDocument.Parse($"\"{SecretServiceName}\"").RootElement
296Assert.Equal(McpToolHelpers.GetResourceNotAvailableMessage(SecretServiceName), textContent.Text);
303var (mockHttpClientFactory, _) = CreateMockHttpWithLogs(ApiServiceName, SecretServiceName);
313Assert.DoesNotContain(SecretServiceName, textContent.Text);
320var (mockHttpClientFactory, _) = CreateMockHttpWithTraces(SecretServiceName);
325["resourceName"] = JsonDocument.Parse($"\"{SecretServiceName}\"").RootElement
333Assert.Equal(McpToolHelpers.GetResourceNotAvailableMessage(SecretServiceName), textContent.Text);
340var (mockHttpClientFactory, _) = CreateMockHttpWithTraces(ApiServiceName, SecretServiceName);
350Assert.DoesNotContain(SecretServiceName, textContent.Text);
357var (mockHttpClientFactory, _) = CreateMockHttpWithLogs(ApiServiceName, SecretServiceName);
371Assert.DoesNotContain(SecretServiceName, textContent.Text);
397Name = SecretServiceName,
406var (mockHttpClientFactory, _) = CreateMockHttpWithLogs(ApiServiceName, SecretServiceName);
420Assert.Contains(SecretServiceName, textContent.Text);
445Name = SecretServiceName,