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)
1258string directory = _env.DefaultTestDirectory.Path; 1269_env.SetCurrentDirectory(directory); 1303var directory = _env.CreateFolder(); 1320var directory = _env.CreateFolder(); 1340var directory = _env.CreateFolder(); 1438var directory = _env.CreateFolder(); 1457var directory = _env.CreateFolder(); 1475var directory = _env.CreateFolder(); 1493var directory = _env.CreateFolder(); 1516var directory = _env.CreateFolder(); 2481var tempDir = _env.CreateFolder(); 2517var testProject = _env.CreateFile("Importer.proj", ObjectModelHelpers.CleanupFileContents(@" 2526_env.CreateFile("TestProject.proj", @" 2534string binLogLocation = _env.DefaultTestDirectory.Path; 2568TransientTestProjectWithFiles testProject = _env.CreateTestProjectWithFiles(projectContents); 2597var testSolution = _env.CreateFile("TestSolution.sln", ObjectModelHelpers.CleanupFileContents(solutionFileContents)); 2600_env.CreateFile("TestProject.proj", @$" 2608_env.SetEnvironmentVariable("MSBUILDNOINPROCNODE", "1"); 2818TransientTestProjectWithFiles testProject = _env.CreateTestProjectWithFiles(projectContents, Array.Empty<string>()); 2832_env.SetEnvironmentVariable(env.Key, env.Value); 2843_env.Dispose();