1 instantiation of McpTestContext
Aspire.Cli.Tests (1)
Commands\AgentMcpCommandTests.cs (1)
110return new McpTestContext(mcpClient, cts, workspace, serverRunTask, testTransport, agentMcpCommand, serviceProvider, loggerFactory)
33 references to McpTestContext
Aspire.Cli.Tests (33)
Commands\AgentMcpCommandTests.cs (33)
36private async Task<McpTestContext> CreateMcpClientAsync(string? dashboardUrl = null, string? appHostPath = null) 119await using var ctx = await CreateMcpClientAsync(); 153await using var ctx = await CreateMcpClientAsync(); 164await using var ctx = await CreateMcpClientAsync(appHostPath: appHostPath); 187await using var ctx = await CreateMcpClientAsync(); 225await using var ctx = await CreateMcpClientAsync(); 288await using var ctx = await CreateMcpClientAsync(); 362await using var ctx = await CreateMcpClientAsync(); 436await using var ctx = await CreateMcpClientAsync(); 495await using var ctx = await CreateMcpClientAsync(); 557await using var ctx = await CreateMcpClientAsync(); 578await using var ctx = await CreateMcpClientAsync(appHostPath: appHostPath); 618await using var ctx = await CreateMcpClientAsync(appHostPath: appHostPath); 641await using var ctx = await CreateMcpClientAsync(appHostPath: appHostPath); 785await using var ctx = await CreateMcpClientAsync(appHostPath: appHostPath); 908await using var ctx = await CreateMcpClientAsync(appHostPath: appHostPath); 981await using var ctx = await CreateMcpClientAsync(appHostPath: appHostPath); 1017await using var ctx = await CreateMcpClientAsync(appHostPath: appHostPath); 1046await using var ctx = await CreateMcpClientAsync(); 1083await using var ctx = await CreateMcpClientAsync(appHostPath: appHostPath); 1110await using var ctx = await CreateMcpClientAsync(appHostPath: appHostPath); 1163await using var ctx = await CreateMcpClientAsync(); 1192await using var ctx = await CreateMcpClientAsync(); 1292await using var ctx = await CreateMcpClientAsync(); 1331await using var ctx = await CreateMcpClientAsync(); 1390await using var ctx = await CreateMcpClientAsync(); 1449await using var ctx = await CreateMcpClientAsync(); 1473await using var ctx = await CreateMcpClientAsync(); 1503await using var ctx = await CreateMcpClientAsync(); 1537await using var ctx = await CreateMcpClientAsync(); 1550await using var ctx = await CreateMcpClientAsync(dashboardUrl: "http://localhost:18888"); 1565await using var ctx = await CreateMcpClientAsync(dashboardUrl: "http://localhost:18888"); 1577await using var ctx = await CreateMcpClientAsync(dashboardUrl: "http://localhost:18888");