81 references to Create
Aspire.Cli.Tests (81)
Backchannel\AppHostConnectionResolverTests.cs (14)
37using var sources = TestConfigSourceServices.Create(executionContext, git: git, interaction: interaction); 85TestConfigSourceServices.Create(executionContext)); 119TestConfigSourceServices.Create(executionContext)); 167TestConfigSourceServices.Create(executionContext)); 205TestConfigSourceServices.Create(executionContext)); 240TestConfigSourceServices.Create(executionContext)); 271TestConfigSourceServices.Create(executionContext)); 303TestConfigSourceServices.Create(executionContext)); 355TestConfigSourceServices.Create(executionContext)); 407TestConfigSourceServices.Create(executionContext)); 447TestConfigSourceServices.Create(executionContext)); 485TestConfigSourceServices.Create(executionContext)); 522TestConfigSourceServices.Create(executionContext)); 559TestConfigSourceServices.Create(executionContext));
Commands\ConfigSourceCommandTests.cs (3)
143await TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: acquired) 188await TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: acquired) 614var initial = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: new TestConfigSourceRepository
Configuration\ConfigSourceServiceGitTests.cs (4)
178using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, clock: clock, interaction: interaction); 410using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), 438using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), 691using var service = TestConfigSourceServices.Create(
Configuration\ConfigSourceServiceTests.cs (57)
67using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, globalSettingsFile: globalFile); 108using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, interaction: interaction, globalSettingsFile: globalFile); 195using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, interaction: interaction, globalSettingsFile: globalFile); 294using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, interaction: interaction, globalSettingsFile: globalFile); 335using (var first = TestConfigSourceServices.Create(context, git: git, clock: clock, globalSettingsFile: globalFile)) 348using (var service = TestConfigSourceServices.Create(context, git: git, clock: clock, interaction: interaction, globalSettingsFile: globalFile)) 359using var next = TestConfigSourceServices.Create(context, git: git, clock: clock, interaction: interaction, globalSettingsFile: globalFile); 392using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, interaction: interaction); 401using var stoppedService = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git); 431using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, interaction: interaction); 448using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git); 474using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git); 490using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git); 547using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, interaction: interaction); 690var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, detector: detector, 711var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, 735var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, 747var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git); 760var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), 782var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, 797var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, 820var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git); 843var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git); 879using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git); 913using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git); 941using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git); 966await TestConfigSourceServices.Create(context, git: git, clock: clock).CheckProjectAsync(workspace.WorkspaceRoot, false, CancellationToken.None); 969await TestConfigSourceServices.Create(context, git: git, clock: clock).CheckProjectAsync(workspace.WorkspaceRoot, false, CancellationToken.None); 984var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, interaction: interaction); 1011await TestConfigSourceServices.Create(context, git: git).CheckProjectAsync(workspace.WorkspaceRoot, false, CancellationToken.None); 1014var service = TestConfigSourceServices.Create(context, git: git, interaction: interaction); 1032using var first = TestConfigSourceServices.Create(context, git: git, clock: clock); 1053using var service = TestConfigSourceServices.Create(context, git: git, clock: clock, interaction: interaction); 1081using var first = TestConfigSourceServices.Create(context, git: git); 1090using var service = TestConfigSourceServices.Create(context, git: git, interaction: interaction); 1109var first = TestConfigSourceServices.Create(context, git: git, clock: clock); 1120var next = TestConfigSourceServices.Create(context, git: git, clock: clock, interaction: interaction); 1140using var first = TestConfigSourceServices.Create(context, clock: clock); 1150using var service = TestConfigSourceServices.Create(context, git: git, clock: clock, interaction: interaction); 1164var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git); 1189var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, interaction: interaction); 1210TestConfigSourceServices.Create(context, git: git).CheckProjectAsync(workspace.WorkspaceRoot, false, CancellationToken.None))).DefaultTimeout(); 1223var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git); 1271var service = TestConfigSourceServices.Create(context, git: git); 1310var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git); 1327var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git); 1350var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git); 1390using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, 1423using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, environment: environment); 1444var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, 1468using var first = TestConfigSourceServices.Create(context, git: git, clock: clock); 1481using var next = TestConfigSourceServices.Create(context, git: git, clock: clock, interaction: interaction); 1510await TestConfigSourceServices.Create(context, git: git).CheckProjectAsync(workspace.WorkspaceRoot, true, CancellationToken.None); 1513var service = TestConfigSourceServices.Create(context, git: git, interaction: interaction); 1530var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, interaction: interaction); 1551using var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(), git: git, detector: detector, interaction: interaction); 1580var service = TestConfigSourceServices.Create(workspace.CreateExecutionContext(aspireHomeDirectory: home));
Projects\ProjectLocatorTests.cs (1)
4283TestConfigSourceServices.Create(executionContext));
TestServices\TestConfigSourceServices.cs (2)
46using var service = Create(TestExecutionContextHelper.CreateExecutionContext(new DirectoryInfo(directory)), git: git, clock: clock); 63using var service = Create(TestExecutionContextHelper.CreateExecutionContext(project), git: git, clock: clock, interaction: interaction);