71 references to Cleanup
Microsoft.Build.Engine.OM.UnitTests (7)
Definition\ProjectItem_Tests.cs (7)
935var testProject = env.CreateTestProjectWithFiles(content.Cleanup()); 2151</Project>".Cleanup(); 2177</Project>".Cleanup(); 2208</Project>".Cleanup(); 2212var testProject = env.CreateTestProjectWithFiles(projectContents.Cleanup(), new[] { "a.cs" }); 2268</Project>".Cleanup(); 2272var testProject = env.CreateTestProjectWithFiles(projectContents.Cleanup(), new[] { "a.cs" });
Microsoft.Build.Engine.UnitTests (61)
BackEnd\BuildManager_Tests.cs (5)
3985</Project>".Cleanup(); 3992</Project>".Cleanup(); 4000</Project>".Cleanup(); 4007</Project>".Cleanup(); 4022</Project>".Cleanup();
BackEnd\BuildRequestConfiguration_Tests.cs (1)
555".Cleanup();
BackEnd\IntrinsicTask_Tests.cs (1)
271var projectContents = string.Format(TargetitemwithIncludeAndExclude, includeString, excludeString).Cleanup();
Definition\Project_Internal_Tests.cs (1)
231</Project>".Cleanup();
Definition\ProjectEvaluationContext_Tests.cs (6)
100_env.CreateFile("1.proj", @"<Project> <PropertyGroup Condition=`Exists('1.file')`></PropertyGroup> </Project>".Cleanup()).Path, 101_env.CreateFile("2.proj", @"<Project> <PropertyGroup Condition=`Exists('2.file')`></PropertyGroup> </Project>".Cleanup()).Path 144var projectFile = _env.CreateFile("1.proj", @"<Project> <Import Project='1.file' Condition=`Exists('1.file')`/> <ItemGroup><Compile Include='*.cs'/></ItemGroup> </Project>".Cleanup()).Path; 763File.WriteAllText(Path.Combine(projectDirectory, $"{evaluationCount}.props"), $"<Project><ItemGroup><i Include=`{evaluationCount}.cs`/></ItemGroup></Project>".Cleanup()); 773File.WriteAllText(Path.Combine(projectDirectory, $"{evaluationCount}.props"), $"<Project><ItemGroup><i Include=`{evaluationCount}.cs`/></ItemGroup></Project>".Cleanup()); 993File.WriteAllText(projectFilePath, projectContents.Cleanup());
Evaluation\EvaluationLogging_Tests.cs (2)
58</Project>".Cleanup(); 71</Project>".Cleanup();
Evaluation\IntrinsicFunctionOverload_Tests.cs (20)
32using ProjectFromString projectFromString = new(projectContent.Cleanup()); 54using ProjectFromString projectFromString = new(projectContent.Cleanup()); 76using ProjectFromString projectFromString = new(projectContent.Cleanup()); 98using ProjectFromString projectFromString = new(projectContent.Cleanup()); 118using ProjectFromString projectFromString = new(projectContent.Cleanup()); 140using ProjectFromString projectFromString = new(projectContent.Cleanup()); 162using ProjectFromString projectFromString = new(projectContent.Cleanup()); 184using ProjectFromString projectFromString = new(projectContent.Cleanup()); 204using ProjectFromString projectFromString = new(projectContent.Cleanup()); 226using ProjectFromString projectFromString = new(projectContent.Cleanup()); 248using ProjectFromString projectFromString = new(projectContent.Cleanup()); 270using ProjectFromString projectFromString = new(projectContent.Cleanup()); 290using ProjectFromString projectFromString = new(projectContent.Cleanup()); 312using ProjectFromString projectFromString = new(projectContent.Cleanup()); 334using ProjectFromString projectFromString = new(projectContent.Cleanup()); 356using ProjectFromString projectFromString = new(projectContent.Cleanup()); 376using ProjectFromString projectFromString = new(projectContent.Cleanup()); 398using ProjectFromString projectFromString = new(projectContent.Cleanup()); 420using ProjectFromString projectFromString = new(projectContent.Cleanup()); 442using ProjectFromString projectFromString = new(projectContent.Cleanup());
Evaluation\ItemEvaluation_Tests.cs (5)
579".Cleanup(); 587".Cleanup(); 649""".Cleanup(); 677".Cleanup(); 713".Cleanup();
Graph\GraphLoadedFromSolution_tests.cs (1)
72</ItemGroup>".Cleanup();
Graph\IsolateProjects_Tests.cs (8)
296</Target>".Cleanup(), 297undeclaredReferenceFile).Cleanup(); 313</Target>".Cleanup(), 315declaredReferenceFile).Cleanup(); 520_project.Cleanup(), 530.Cleanup(); 579".Cleanup()).Path; 596".Cleanup()).Path;
Graph\ProjectGraph_Tests.cs (5)
1298</ItemGroup>".Cleanup()) 1312</ItemGroup>".Cleanup()) 1346</ItemGroup>".Cleanup()); 2084</ItemGroup>".Cleanup(); 2189</ItemGroup>".Cleanup();
Parser_Tests.cs (1)
574".Cleanup();
ProjectCache\ProjectCacheTests.cs (5)
879</Project>".Cleanup()); 886</Project>".Cleanup()); 1116</Project>".Cleanup()); 1338</Project>".Cleanup()); 1578".Cleanup();
Microsoft.Build.UnitTests.Shared (3)
ObjectModelHelpers.cs (3)
1402var testProject = env.CreateTestProjectWithFiles(content.Cleanup()); 1459var testProject = env.CreateTestProjectWithFiles(content.Cleanup()); 1815return extraContent.Cleanup();