37 references to ConfigureIntegrationAsync
Aspire.Cli.Tests (37)
Agents\AgentConfigurationTests.cs (14)
524
var projectResults = await _context.
ConfigureIntegrationAsync
(AgentConfigurationScope.Project, clients).DefaultTimeout();
528
var userResults = await _context.
ConfigureIntegrationAsync
(AgentConfigurationScope.Global, clients).DefaultTimeout();
570
var results = await _context.
ConfigureIntegrationAsync
(AgentConfigurationScope.Global, [_context.ClaudeCode]).DefaultTimeout();
575
await _context.
ConfigureIntegrationAsync
(AgentConfigurationScope.Project, [_context.ClaudeCode]).DefaultTimeout();
597
var results = await _context.
ConfigureIntegrationAsync
(AgentConfigurationScope.Project, [client]).DefaultTimeout();
624
var results = await _context.
ConfigureIntegrationAsync
(AgentConfigurationScope.Project, [_context.ClaudeCode]);
655
var results = await _context.
ConfigureIntegrationAsync
(AgentConfigurationScope.Project, [_context.ClaudeCode]);
673
var results = await _context.
ConfigureIntegrationAsync
(AgentConfigurationScope.Global, [_context.ClaudeCode]).DefaultTimeout();
685
var results = await _context.
ConfigureIntegrationAsync
(AgentConfigurationScope.Global, [_context.Copilot]).DefaultTimeout();
686
var repeated = await _context.
ConfigureIntegrationAsync
(AgentConfigurationScope.Global, [_context.Copilot]).DefaultTimeout();
703
var results = await _context.
ConfigureIntegrationAsync
(
725
var results = await _context.
ConfigureIntegrationAsync
(
740
var results = await _context.
ConfigureIntegrationAsync
(
754
await Assert.ThrowsAnyAsync<OperationCanceledException>(() => _context.
ConfigureIntegrationAsync
(
Agents\OpenCodeAgentClientTests.cs (12)
31
var configured = await _context.
ConfigureIntegrationAsync
(AgentConfigurationScope.Project, [client]);
174
var results = await _context.
ConfigureIntegrationAsync
(scope, [_context.OpenCode]).DefaultTimeout();
178
var repeated = await _context.
ConfigureIntegrationAsync
(scope, [_context.OpenCode]);
196
var results = await _context.
ConfigureIntegrationAsync
(AgentConfigurationScope.Project, [_context.OpenCode]);
222
var results = await _context.
ConfigureIntegrationAsync
(AgentConfigurationScope.Project, [_context.OpenCode]);
253
var results = await _context.
ConfigureIntegrationAsync
(AgentConfigurationScope.Project, [_context.OpenCode]);
275
var results = await _context.
ConfigureIntegrationAsync
(AgentConfigurationScope.Project, [_context.OpenCode]);
293
var results = await _context.
ConfigureIntegrationAsync
(AgentConfigurationScope.Project, [_context.OpenCode]);
313
var results = await _context.
ConfigureIntegrationAsync
(scope, [_context.OpenCode]);
331
var results = await _context.
ConfigureIntegrationAsync
(AgentConfigurationScope.Project, [_context.OpenCode]);
351
var results = await _context.
ConfigureIntegrationAsync
(AgentConfigurationScope.Global, [_context.OpenCode]);
378
var results = await _context.
ConfigureIntegrationAsync
(AgentConfigurationScope.Global, [_context.OpenCode]);
Agents\SkillSourceTests.cs (10)
215
var results = await context.
ConfigureIntegrationAsync
(scope, context.Clients).DefaultTimeout();
225
var unchanged = await context.
ConfigureIntegrationAsync
(scope, context.Clients).DefaultTimeout();
241
var result = Assert.Single(await context.
ConfigureIntegrationAsync
(AgentConfigurationScope.Project, [context.Copilot]).DefaultTimeout());
262
var result = Assert.Single(await context.
ConfigureIntegrationAsync
(AgentConfigurationScope.Project, [client]).DefaultTimeout());
308
var result = Assert.Single(await context.
ConfigureIntegrationAsync
(AgentConfigurationScope.Project, [client]).DefaultTimeout());
312
var unchanged = Assert.Single(await context.
ConfigureIntegrationAsync
(AgentConfigurationScope.Project, [client]).DefaultTimeout());
356
var result = Assert.Single(await context.
ConfigureIntegrationAsync
(AgentConfigurationScope.Project, [client]).DefaultTimeout());
369
var results = await context.
ConfigureIntegrationAsync
(AgentConfigurationScope.Project, context.Clients).DefaultTimeout();
403
var result = Assert.Single(await context.
ConfigureIntegrationAsync
(AgentConfigurationScope.Project, [client]).DefaultTimeout());
426
var results = await context.
ConfigureIntegrationAsync
(AgentConfigurationScope.Project, context.Clients).DefaultTimeout();
Commands\AgentInitCommandTests.cs (1)
863
Assert.All(await context.
ConfigureIntegrationAsync
(scope, [context.Copilot]).DefaultTimeout(),