10 references to CreateContext
Aspire.Cli.Tests (10)
Projects\ProjectUpdaterNuGetConfigurationTests.cs (10)
361var context = CreateContext(projectFile, channel, hasExplicitChannel: true, dryRun: true); 489var context = CreateContext(projectFile, channel, hasExplicitChannel: true, dryRun: outcome == "restore"); 653CreateContext(projectFile, channel, hasExplicitChannel: true), TestContext.Current.CancellationToken); 848CreateContext(projectFile, channel, hasExplicitChannel), TestContext.Current.CancellationToken); 1107CreateContext(projectFile, channel, hasExplicitChannel: true, dryRun), TestContext.Current.CancellationToken); 1582var context = CreateContext(project, channel, hasExplicitChannel: true, dryRun: !succeeds); 1851updater.UpdateProjectAsync(CreateContext(projectFile, channel, hasExplicitChannel: true, dryRun), 1919CreateContext(projectFile, channel, hasExplicitChannel: true), TestContext.Current.CancellationToken); 1998CreateContext(projectFile, channel, hasExplicitChannel: true), TestContext.Current.CancellationToken); 2062return CreateContext(projectFile, channels.Single(channel => channel.Name == channelName), hasExplicitChannel, dryRun);