71 references to Cleanup
Microsoft.Build.Engine.OM.UnitTests (7)
Definition\ProjectItem_Tests.cs (7)
937
var testProject = env.CreateTestProjectWithFiles(content.
Cleanup
());
2153
</Project>".
Cleanup
();
2179
</Project>".
Cleanup
();
2210
</Project>".
Cleanup
();
2214
var testProject = env.CreateTestProjectWithFiles(projectContents.
Cleanup
(), new[] { "a.cs" });
2270
</Project>".
Cleanup
();
2274
var testProject = env.CreateTestProjectWithFiles(projectContents.
Cleanup
(), new[] { "a.cs" });
Microsoft.Build.Engine.UnitTests (61)
BackEnd\BuildManager_Tests.cs (5)
3986
</Project>".
Cleanup
();
3993
</Project>".
Cleanup
();
4001
</Project>".
Cleanup
();
4008
</Project>".
Cleanup
();
4023
</Project>".
Cleanup
();
BackEnd\BuildRequestConfiguration_Tests.cs (1)
555
".
Cleanup
();
BackEnd\IntrinsicTask_Tests.cs (1)
272
var projectContents = string.Format(TargetitemwithIncludeAndExclude, includeString, excludeString).
Cleanup
();
Definition\Project_Internal_Tests.cs (1)
232
</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)
37
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
59
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
81
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
103
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
123
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
145
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
167
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
189
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
209
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
231
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
253
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
275
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
295
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
317
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
339
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
361
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
381
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
403
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
425
using ProjectFromString projectFromString = new(projectContent.
Cleanup
());
447
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)
73
</ItemGroup>".
Cleanup
();
Graph\IsolateProjects_Tests.cs (8)
297
</Target>".
Cleanup
(),
298
undeclaredReferenceFile).
Cleanup
();
314
</Target>".
Cleanup
(),
316
declaredReferenceFile).
Cleanup
();
521
_project.
Cleanup
(),
531
.
Cleanup
();
580
".
Cleanup
()).Path;
597
".
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)
878
</Project>".
Cleanup
());
885
</Project>".
Cleanup
());
1115
</Project>".
Cleanup
());
1337
</Project>".
Cleanup
());
1577
".
Cleanup
();
Microsoft.Build.UnitTests.Shared (3)
ObjectModelHelpers.cs (3)
1403
var testProject = env.CreateTestProjectWithFiles(content.
Cleanup
());
1460
var testProject = env.CreateTestProjectWithFiles(content.
Cleanup
());
1814
return extraContent.
Cleanup
();