17 references to EnvironmentVariables
Aspire.EndToEnd.Tests (17)
IntegrationServicesFixture.cs (1)
25
public static string? TestScenario { get; } =
EnvironmentVariables
.TestScenario;
tests\Shared\WorkloadTesting\BuildEnvironment.cs (14)
108
BuiltNuGetsPath = Path.Combine(RepoRoot.FullName, "artifacts", "packages",
EnvironmentVariables
.BuildConfiguration, "Shipping");
115
if (string.IsNullOrEmpty(
EnvironmentVariables
.SdkForWorkloadTestingPath))
120
string? baseDir = Path.GetDirectoryName(
EnvironmentVariables
.SdkForWorkloadTestingPath);
128
if (string.IsNullOrEmpty(
EnvironmentVariables
.BuiltNuGetsPath) || !Directory.Exists(
EnvironmentVariables
.BuiltNuGetsPath))
130
throw new ArgumentException($"Cannot find 'BUILT_NUGETS_PATH={
EnvironmentVariables
.BuiltNuGetsPath}' or {BuiltNuGetsPath}");
132
BuiltNuGetsPath =
EnvironmentVariables
.BuiltNuGetsPath;
171
if (!string.IsNullOrEmpty(
EnvironmentVariables
.TestLogPath))
173
LogRootPath = Path.GetFullPath(
EnvironmentVariables
.TestLogPath);
191
if (
EnvironmentVariables
.IsRunningOnCI)
226
catch (IOException) when (!
EnvironmentVariables
.IsRunningOnCI)
266
=>
EnvironmentVariables
.DefaultTFMForTesting?.ToLowerInvariant() switch
270
_ => throw new ArgumentOutOfRangeException(nameof(
EnvironmentVariables
.DefaultTFMForTesting),
EnvironmentVariables
.DefaultTFMForTesting, "Invalid value")
tests\Shared\WorkloadTesting\TestOutputWrapper.cs (2)
17
if (forceShowBuildOutput ||
EnvironmentVariables
.ShowBuildOutput)
27
if (forceShowBuildOutput ||
EnvironmentVariables
.ShowBuildOutput)