71 references to Cleanup
Microsoft.Build.Engine.OM.UnitTests (7)
Definition\ProjectItem_Tests.cs (7)
935
var testProject = env.CreateTestProjectWithFiles(content.
Cleanup
());
2151
</Project>".
Cleanup
();
2177
</Project>".
Cleanup
();
2208
</Project>".
Cleanup
();
2212
var testProject = env.CreateTestProjectWithFiles(projectContents.
Cleanup
(), new[] { "a.cs" });
2268
</Project>".
Cleanup
();
2272
var 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)
271
var 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
144
var projectFile = _env.CreateFile("1.proj", @"<Project> <Import Project='1.file' Condition=`Exists('1.file')`/> <ItemGroup><Compile Include='*.cs'/></ItemGroup> </Project>".
Cleanup
()).Path;
763
File.WriteAllText(Path.Combine(projectDirectory, $"{evaluationCount}.props"), $"<Project><ItemGroup><i Include=`{evaluationCount}.cs`/></ItemGroup></Project>".
Cleanup
());
773
File.WriteAllText(Path.Combine(projectDirectory, $"{evaluationCount}.props"), $"<Project><ItemGroup><i Include=`{evaluationCount}.cs`/></ItemGroup></Project>".
Cleanup
());
993
File.WriteAllText(projectFilePath, projectContents.
Cleanup
());
Evaluation\EvaluationLogging_Tests.cs (2)
58
</Project>".
Cleanup
();
71
</Project>".
Cleanup
();
Evaluation\IntrinsicFunctionOverload_Tests.cs (20)
32
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
54
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
76
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
98
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
118
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
140
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
162
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
184
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
204
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
226
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
248
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
270
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
290
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
312
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
334
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
356
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
376
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
398
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
420
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
442
using 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
(),
297
undeclaredReferenceFile).
Cleanup
();
313
</Target>".
Cleanup
(),
315
declaredReferenceFile).
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)
1402
var testProject = env.CreateTestProjectWithFiles(content.
Cleanup
());
1459
var testProject = env.CreateTestProjectWithFiles(content.
Cleanup
());
1815
return extraContent.
Cleanup
();