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