101 references to Create
Aspire.Cli.Tests (101)
Backchannel\AppHostConnectionResolverTests.cs (15)
40using var sources = TestConfigSourceServices.Create(executionContext, git: git, interaction: interaction); 88TestConfigSourceServices.Create(executionContext)); 122TestConfigSourceServices.Create(executionContext)); 146using var sources = TestConfigSourceServices.Create(executionContext); 206TestConfigSourceServices.Create(executionContext)); 244TestConfigSourceServices.Create(executionContext)); 279TestConfigSourceServices.Create(executionContext)); 310TestConfigSourceServices.Create(executionContext)); 342TestConfigSourceServices.Create(executionContext)); 394TestConfigSourceServices.Create(executionContext)); 446TestConfigSourceServices.Create(executionContext)); 486TestConfigSourceServices.Create(executionContext)); 524TestConfigSourceServices.Create(executionContext)); 561TestConfigSourceServices.Create(executionContext)); 598TestConfigSourceServices.Create(executionContext));
Commands\ConfigSourceCommandTests.cs (2)
249using var sourceService = TestConfigSourceServices.Create(context.ExecutionContext, git: acquired); 985var initial = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: new TestConfigSourceRepository
Configuration\ConfigSourceServiceGitTests.cs (4)
183using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, clock: clock, interaction: interaction); 415using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), 443using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), 687using var service = TestConfigSourceServices.Create(
Configuration\ConfigSourceServiceTests.cs (73)
67using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), 103using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), 139using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), 190using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, environment: environment); 471using (var first = TestConfigSourceServices.Create(context, git: git, clock: clock)) 484using (var service = TestConfigSourceServices.Create(context, git: git, clock: clock, interaction: interaction)) 495using var next = TestConfigSourceServices.Create(context, git: git, clock: clock, interaction: interaction); 528using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, interaction: interaction); 537using var stoppedService = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git); 567using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, interaction: interaction); 584using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git); 610using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git); 626using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git); 683using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, interaction: interaction); 828var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, detector: detector, 849var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, 873var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, 885var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git); 919using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), 940using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), 972using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), 994using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), interaction: interaction, 1036using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), 1069var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), 1092var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, 1107using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, 1124var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, 1141using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git); 1163using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git); 1191using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, 1248using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, 1269using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, 1288using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), environment: environment); 1312var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git); 1336using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git); 1357using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git); 1379var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git); 1407using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git); 1437using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git); 1468using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git); 1495using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git); 1521await TestConfigSourceServices.Create(context, git: git, clock: clock).CheckProjectAsync(workspace.WorkspaceRoot, false, CancellationToken.None); 1524await TestConfigSourceServices.Create(context, git: git, clock: clock).CheckProjectAsync(workspace.WorkspaceRoot, false, CancellationToken.None); 1539var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, interaction: interaction); 1566await TestConfigSourceServices.Create(context, git: git).CheckProjectAsync(workspace.WorkspaceRoot, false, CancellationToken.None); 1569var service = TestConfigSourceServices.Create(context, git: git, interaction: interaction); 1589using var first = TestConfigSourceServices.Create(context, git: git, clock: clock); 1613using var service = TestConfigSourceServices.Create(context, git: git, clock: clock, interaction: interaction); 1641using var first = TestConfigSourceServices.Create(context, git: git); 1650using var service = TestConfigSourceServices.Create(context, git: git, interaction: interaction); 1669var first = TestConfigSourceServices.Create(context, git: git, clock: clock); 1680var next = TestConfigSourceServices.Create(context, git: git, clock: clock, interaction: interaction); 1700using var first = TestConfigSourceServices.Create(context, clock: clock); 1710using var service = TestConfigSourceServices.Create(context, git: git, clock: clock, interaction: interaction); 1753using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), 1774var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git); 1804var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, interaction: interaction); 1825TestConfigSourceServices.Create(context, git: git).CheckProjectAsync(workspace.WorkspaceRoot, false, CancellationToken.None))).DefaultTimeout(); 1838var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git); 1886var service = TestConfigSourceServices.Create(context, git: git); 1925var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git); 1942var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git); 1965var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git); 2005using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, 2038using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, environment: environment); 2059var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, 2089using var first = TestConfigSourceServices.Create(context, git: git, clock: clock); 2108using var next = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, clock: clock, interaction: interaction); 2157await TestConfigSourceServices.Create(context, git: git).CheckProjectAsync(workspace.WorkspaceRoot, true, CancellationToken.None); 2160var service = TestConfigSourceServices.Create(context, git: git, interaction: interaction); 2177var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, interaction: interaction); 2198using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, detector: detector, interaction: interaction); 2227var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(aspireHomeDirectory: home));
Configuration\ConfigurationServiceTests.cs (1)
100using var configSources = TestConfigSourceServices.Create(workspace.CreateExecutionContext());
Interaction\ConsoleInteractionServiceTests.cs (3)
243using var service = TestConfigSourceServices.Create(context, interaction: interaction, 284using var service = TestConfigSourceServices.Create(context, interaction: interaction, interactive: interactive, 319using var service = TestConfigSourceServices.Create(context, interaction: interaction,
Projects\ProjectLocatorTests.cs (1)
4316TestConfigSourceServices.Create(executionContext));
TestServices\TestConfigSourceServices.cs (2)
43using var service = Create(TestExecutionContextHelper.CreateExecutionContext(new DirectoryInfo(directory)), git: git, clock: clock); 60using var service = Create(TestExecutionContextHelper.CreateExecutionContext(project), git: git, clock: clock, interaction: interaction);