52 references to CreateExecutionContext
Aspire.Cli.Tests (52)
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 (3)
272
var ctx = workspace.
CreateExecutionContext
();
323
var context = workspace.
CreateExecutionContext
(logFilePath: cliLogPath);
359
options.CliExecutionContextFactory = _ => workspace.
CreateExecutionContext
(logFilePath: cliLogPath);
Commands\DashboardRunCommandTests.cs (1)
601
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)
470
return workspace.
CreateExecutionContext
(identityChannel: identityChannel);
Commands\NewCommandTests.cs (3)
91
options.CliExecutionContextFactory = _ => workspace.
CreateExecutionContext
(identityChannel: PackageChannelNames.Staging);
135
options.CliExecutionContextFactory = _ => workspace.
CreateExecutionContext
(identityChannel: PackageChannelNames.Staging);
702
options.CliExecutionContextFactory = _ => workspace.
CreateExecutionContext
(identityChannel: PackageChannelNames.Stable);
Commands\RootCommandTests.cs (1)
156
options.CliExecutionContextFactory = _ => workspace.
CreateExecutionContext
(
Commands\RunCommandTests.cs (8)
2723
var executionContext = workspace.
CreateExecutionContext
(logFilePath: logFilePath);
3496
var executionContext = workspace.
CreateExecutionContext
();
3544
var executionContext = workspace.
CreateExecutionContext
();
3588
var executionContext = workspace.
CreateExecutionContext
();
3636
var executionContext = workspace.
CreateExecutionContext
();
3679
var executionContext = workspace.
CreateExecutionContext
();
3723
var executionContext = workspace.
CreateExecutionContext
();
3767
var executionContext = workspace.
CreateExecutionContext
();
Commands\Sdk\SdkExportCommandTests.cs (1)
383
options.CliExecutionContextFactory = _ => testWorkspace.
CreateExecutionContext
(
Commands\UpdateCommandTests.cs (6)
52
options.CliExecutionContextFactory = _ => workspace.
CreateExecutionContext
(identityChannel: PackageChannelNames.Staging);
2574
options.CliExecutionContextFactory = _ => workspace.
CreateExecutionContext
(identityChannel: PackageChannelNames.Staging);
2645
options.CliExecutionContextFactory = _ => workspace.
CreateExecutionContext
(identityChannel: PackageChannelNames.Stable);
2827
options.CliExecutionContextFactory = _ => workspace.
CreateExecutionContext
(identityChannel: identityChannel);
3039
options.CliExecutionContextFactory = _ => workspace.
CreateExecutionContext
(identityChannel: PackageChannelNames.Staging);
3254
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)
36
var executionContext = workspace.
CreateExecutionContext
(logFilePath: logFilePath);
279
var executionContext = workspace.
CreateExecutionContext
();
426
var executionContext = workspace.
CreateExecutionContext
(logFilePath: logFilePath);
461
workspace.
CreateExecutionContext
(),
Migrations\TypeScriptAppHostMigrationTests.cs (1)
30
workspace.
CreateExecutionContext
(),
Projects\PrebuiltAppHostServerTests.cs (1)
798
var executionContext = TestExecutionContextHelper.
CreateExecutionContext
(
Scaffolding\ChannelReseedTests.cs (2)
90
executionContext: workspace.
CreateExecutionContext
(),
127
executionContext: workspace.
CreateExecutionContext
(),
Utils\LegacySettingsFileCheckTests.cs (3)
46
var executionContext = workspace.
CreateExecutionContext
();
67
var executionContext = workspace.
CreateExecutionContext
();
158
var executionContext = workspace.
CreateExecutionContext
();