49 references to CreateExecutionContext
Aspire.Cli.Tests (49)
Backchannel\ExtensionBackchannelTests.cs (4)
19
var backchannel = CreateBackchannel("not-a-valid-endpoint", workspace.
CreateExecutionContext
());
34
workspace.
CreateExecutionContext
(),
71
workspace.
CreateExecutionContext
(),
112
workspace.
CreateExecutionContext
(),
Caching\AppHostInfoDiskCacheTests.cs (2)
19
var ctx = workspace.
CreateExecutionContext
();
25
var ctx = workspace.
CreateExecutionContext
();
Caching\DiskCacheTests.cs (1)
20
var ctx = workspace.
CreateExecutionContext
();
Commands\BaseCommandTests.cs (1)
272
var ctx = workspace.
CreateExecutionContext
();
Commands\DashboardRunCommandTests.cs (1)
573
var executionContext = workspace.
CreateExecutionContext
(logFilePath: logFilePath);
Commands\NewCommandChannelResolutionTests.cs (2)
70
options.CliExecutionContextFactory = _ => workspace.
CreateExecutionContext
(identityChannel: PackageChannelNames.Stable);
748
return workspace.
CreateExecutionContext
(
Commands\NewCommandTemplateConfigPersistenceTests.cs (1)
476
return workspace.
CreateExecutionContext
(identityChannel: identityChannel);
Commands\NewCommandTests.cs (3)
92
options.CliExecutionContextFactory = _ => workspace.
CreateExecutionContext
(identityChannel: PackageChannelNames.Staging);
136
options.CliExecutionContextFactory = _ => workspace.
CreateExecutionContext
(identityChannel: PackageChannelNames.Staging);
742
options.CliExecutionContextFactory = _ => workspace.
CreateExecutionContext
(identityChannel: PackageChannelNames.Stable);
Commands\RootCommandTests.cs (1)
156
options.CliExecutionContextFactory = _ => workspace.
CreateExecutionContext
(
Commands\RunCommandTests.cs (8)
2458
var executionContext = workspace.
CreateExecutionContext
(logFilePath: logFilePath);
3231
var executionContext = workspace.
CreateExecutionContext
();
3279
var executionContext = workspace.
CreateExecutionContext
();
3323
var executionContext = workspace.
CreateExecutionContext
();
3371
var executionContext = workspace.
CreateExecutionContext
();
3414
var executionContext = workspace.
CreateExecutionContext
();
3458
var executionContext = workspace.
CreateExecutionContext
();
3502
var executionContext = workspace.
CreateExecutionContext
();
Commands\UpdateCommandTests.cs (6)
51
options.CliExecutionContextFactory = _ => workspace.
CreateExecutionContext
(identityChannel: PackageChannelNames.Staging);
2570
options.CliExecutionContextFactory = _ => workspace.
CreateExecutionContext
(identityChannel: PackageChannelNames.Staging);
2641
options.CliExecutionContextFactory = _ => workspace.
CreateExecutionContext
(identityChannel: PackageChannelNames.Stable);
2822
options.CliExecutionContextFactory = _ => workspace.
CreateExecutionContext
(identityChannel: identityChannel);
3034
options.CliExecutionContextFactory = _ => workspace.
CreateExecutionContext
(identityChannel: PackageChannelNames.Staging);
3249
options.CliExecutionContextFactory = _ => workspace.
CreateExecutionContext
(identityChannel: identityChannel);
Configuration\ConfigurationServiceTests.cs (1)
28
var executionContext = workspace.
CreateExecutionContext
();
DotNet\ProcessExecutionDetachedTests.cs (3)
347
executionContext: workspace.
CreateExecutionContext
());
395
executionContext: workspace.
CreateExecutionContext
());
446
executionContext: workspace.
CreateExecutionContext
());
Git\GitRepositoryTests.cs (4)
22
var executionContext = workspace.
CreateExecutionContext
();
62
var executionContext = workspace.
CreateExecutionContext
();
91
var executionContext = workspace.
CreateExecutionContext
();
123
var executionContext = workspace.
CreateExecutionContext
();
Interaction\ExtensionInteractionServiceTests.cs (4)
35
var executionContext = workspace.
CreateExecutionContext
(logFilePath: logFilePath);
76
var executionContext = workspace.
CreateExecutionContext
();
223
var executionContext = workspace.
CreateExecutionContext
(logFilePath: logFilePath);
258
workspace.
CreateExecutionContext
(),
Migrations\TypeScriptAppHostMigrationTests.cs (1)
30
workspace.
CreateExecutionContext
(),
Projects\PrebuiltAppHostServerTests.cs (1)
798
var executionContext = TestExecutionContextHelper.
CreateExecutionContext
(
Scaffolding\ChannelReseedTests.cs (2)
93
executionContext: workspace.
CreateExecutionContext
(),
126
executionContext: workspace.
CreateExecutionContext
(),
Utils\LegacySettingsFileCheckTests.cs (3)
46
var executionContext = workspace.
CreateExecutionContext
();
67
var executionContext = workspace.
CreateExecutionContext
();
158
var executionContext = workspace.
CreateExecutionContext
();