1 write to _env
Microsoft.Build.Tasks.UnitTests (1)
ResourceHandling\GenerateResource_Tests.cs (1)
32_env = TestEnvironment.Create(output);
22 references to _env
Microsoft.Build.Tasks.UnitTests (22)
ResourceHandling\GenerateResource_Tests.cs (22)
38_env.Dispose(); 324var folder = _env.CreateFolder(); 325string resxFileInput = Utilities.WriteTestResX(false, null, null, _env.CreateFile(folder, ".resx").Path); 328t.StateFile = new TaskItem(_env.GetTempFile(".cache").Path); 370var folder = _env.CreateFolder(); 371string resxFileInput = Utilities.WriteTestResX(false, null, null, _env.CreateFile(folder, ".resx").Path); 374t.StateFile = new TaskItem(_env.GetTempFile(".cache").Path); 403GenerateResource t = Utilities.CreateTask(_output, usePreserialized, _env); 417GenerateResource t2 = Utilities.CreateTask(_output, usePreserialized, _env); 454var folder = _env.CreateFolder(); 455string resxFileInput = Utilities.WriteTestResX(false, null, null, _env.CreateFile(folder, ".resx").Path); 456TaskItem stateFile = new TaskItem(_env.GetTempFile(".cache").Path); 523_env, 592_env, 622GenerateResource t = Utilities.CreateTask(_output, usePreserialized, _env); 638GenerateResource t2 = Utilities.CreateTask(_output, usePreserialized, _env); 675var folder = _env.CreateFolder(); 677var firstResx = Utilities.WriteTestResX(false, null, null, _env.CreateFile(folder, ".resx").Path); 678var secondResx = Utilities.WriteTestResX(false, null, null, _env.CreateFile(folder, ".resx").Path); 679var cache = _env.GetTempFile(folder, ".cache").Path; 736GenerateResource t = Utilities.CreateTask(_output, usePreserialized, _env); 756GenerateResource t2 = Utilities.CreateTask(_output, usePreserialized, _env);