10 instantiations of TestConfigSourceDetector
Aspire.Cli.Tests (10)
Configuration\ConfigSourceServiceTests.cs (9)
687
var detector = new
TestConfigSourceDetector
{ IsInternal = detected };
712
detector: new
TestConfigSourceDetector
{ IsInternal = detected },
736
detector: new
TestConfigSourceDetector
{ IsInternal = true, Outcome = outcome });
761
detector: new
TestConfigSourceDetector
{ IsInternal = true });
783
detector: new
TestConfigSourceDetector
{ IsInternal = true }, interaction: interaction, interactive: true);
798
detector: new
TestConfigSourceDetector
{ IsInternal = true }, interaction: interaction, interactive: true);
1385
var detector = new
TestConfigSourceDetector
{ IsInternal = true };
1443
var detector = new
TestConfigSourceDetector
{ IsInternal = true };
1549
var detector = new
TestConfigSourceDetector
{ IsInternal = true };
TestServices\TestConfigSourceServices.cs (1)
37
return new ConfigSourceService(context, configurationService, environment ?? new TestEnvironment(), detector ?? new
TestConfigSourceDetector
(),
10 references to TestConfigSourceDetector
Aspire.Cli.Tests (10)
Commands\ConfigSourceCommandTests.cs (4)
477
Assert.Equal(0, Assert.IsType<
TestConfigSourceDetector
>(provider.GetRequiredService<IInternalMicrosoftDetector>()).Calls);
501
Assert.Equal(0, Assert.IsType<
TestConfigSourceDetector
>(provider.GetRequiredService<IInternalMicrosoftDetector>()).Calls);
523
Assert.Equal(0, Assert.IsType<
TestConfigSourceDetector
>(provider.GetRequiredService<IInternalMicrosoftDetector>()).Calls);
732
Assert.Equal(0, Assert.IsType<
TestConfigSourceDetector
>(provider.GetRequiredService<IInternalMicrosoftDetector>()).Calls);
Configuration\ConfigSourceServiceTests.cs (4)
687
var
detector = new TestConfigSourceDetector { IsInternal = detected };
1385
var
detector = new TestConfigSourceDetector { IsInternal = true };
1443
var
detector = new TestConfigSourceDetector { IsInternal = true };
1549
var
detector = new TestConfigSourceDetector { IsInternal = true };
TestServices\TestConfigSourceServices.cs (1)
30
TimeProvider? clock = null, IEnvironment? environment = null,
TestConfigSourceDetector
? detector = null,
Utils\CliTestHelper.cs (1)
93
services.AddSingleton<IInternalMicrosoftDetector,
TestConfigSourceDetector
>();