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