12 references to AddTestEnvironmentVariables
dotnet-new.IntegrationTests (6)
CommonTemplatesTests.cs (3)
60
TestContext.Current.
AddTestEnvironmentVariables
(environmentUnderTest);
204
TestContext.Current.
AddTestEnvironmentVariables
(environmentUnderTest);
399
TestContext.Current.
AddTestEnvironmentVariables
(environmentUnderTest);
DotnetClassTemplateTests.cs (2)
51
TestContext.Current.
AddTestEnvironmentVariables
(environmentUnderTest);
131
TestContext.Current.
AddTestEnvironmentVariables
(environmentUnderTest);
TemplateEngineSamplesTest.cs (1)
49
TestContext.Current.
AddTestEnvironmentVariables
(environmentUnderTest);
Microsoft.NET.Build.Tests (2)
AspNetCoreOnFullFramework.cs (1)
90
TestContext.Current.
AddTestEnvironmentVariables
(toolCommandSpec.Environment);
GivenThatWeWantToGenerateADepsFileForATool.cs (1)
232
TestContext.Current.
AddTestEnvironmentVariables
(toolCommandSpec.Environment);
Microsoft.NET.TestFramework (4)
Commands\DotnetCommand.cs (1)
21
TestContext.Current.
AddTestEnvironmentVariables
(sdkCommandSpec.Environment);
Commands\NuGetExeRestoreCommand.cs (1)
74
TestContext.Current.
AddTestEnvironmentVariables
(ret.Environment);
Commands\RunExeCommand.cs (1)
29
TestContext.Current.
AddTestEnvironmentVariables
(sdkCommandSpec.Environment);
ToolsetInfo.cs (1)
245
TestContext.Current.
AddTestEnvironmentVariables
(ret.Environment);