1 write to _env
Microsoft.Build.CommandLine.UnitTests (1)
XMake_Tests.cs (1)
44
_env
= UnitTests.TestEnvironment.Create(_output);
21 references to _env
Microsoft.Build.CommandLine.UnitTests (21)
XMake_Tests.cs (21)
1258
string directory =
_env
.DefaultTestDirectory.Path;
1269
_env
.SetCurrentDirectory(directory);
1303
var directory =
_env
.CreateFolder();
1320
var directory =
_env
.CreateFolder();
1340
var directory =
_env
.CreateFolder();
1438
var directory =
_env
.CreateFolder();
1457
var directory =
_env
.CreateFolder();
1475
var directory =
_env
.CreateFolder();
1493
var directory =
_env
.CreateFolder();
1516
var directory =
_env
.CreateFolder();
2481
var tempDir =
_env
.CreateFolder();
2517
var testProject =
_env
.CreateFile("Importer.proj", ObjectModelHelpers.CleanupFileContents(@"
2526
_env
.CreateFile("TestProject.proj", @"
2534
string binLogLocation =
_env
.DefaultTestDirectory.Path;
2568
TransientTestProjectWithFiles testProject =
_env
.CreateTestProjectWithFiles(projectContents);
2597
var testSolution =
_env
.CreateFile("TestSolution.sln", ObjectModelHelpers.CleanupFileContents(solutionFileContents));
2600
_env
.CreateFile("TestProject.proj", @$"
2608
_env
.SetEnvironmentVariable("MSBUILDNOINPROCNODE", "1");
2818
TransientTestProjectWithFiles testProject =
_env
.CreateTestProjectWithFiles(projectContents, Array.Empty<string>());
2832
_env
.SetEnvironmentVariable(env.Key, env.Value);
2843
_env
.Dispose();