54 references to CreateInMemoryProject
Microsoft.Build.Engine.OM.UnitTests (20)
Construction\ElementLocationPublic_Tests.cs (1)
117var project = ObjectModelHelpers.CreateInMemoryProject(content);
Definition\Project_Tests.cs (7)
2878var project = ObjectModelHelpers.CreateInMemoryProject(projectContents); 3737var getAllGlobsResult = ObjectModelHelpers.CreateInMemoryProject(projectContents).GetAllGlobs(); 4298var globs = ObjectModelHelpers.CreateInMemoryProject(project).GetAllGlobs(); 4304var globs = ObjectModelHelpers.CreateInMemoryProject(project).GetAllGlobs(itemType); 4323var provenanceResult = ObjectModelHelpers.CreateInMemoryProject(project).GetItemProvenance(itemValue); 4329var provenanceResult = ObjectModelHelpers.CreateInMemoryProject(project).GetItemProvenance(itemValue, itemType); 4345p = ObjectModelHelpers.CreateInMemoryProject(project);
Definition\ProjectItem_Tests.cs (12)
2383var project = ObjectModelHelpers.CreateInMemoryProject(projectContents); 2400var project = ObjectModelHelpers.CreateInMemoryProject(projectContents); 2421var project = ObjectModelHelpers.CreateInMemoryProject(content); 2448var project = ObjectModelHelpers.CreateInMemoryProject(content); 2480var project = ObjectModelHelpers.CreateInMemoryProject(content); 2525var project = ObjectModelHelpers.CreateInMemoryProject(content); 2624var project = ObjectModelHelpers.CreateInMemoryProject(content); 2655Project project = ObjectModelHelpers.CreateInMemoryProject(content); 2684Project project = ObjectModelHelpers.CreateInMemoryProject(content); 2704Should.Throw<InvalidProjectFileException>(() => ObjectModelHelpers.CreateInMemoryProject(content)) 2760var project = ObjectModelHelpers.CreateInMemoryProject(ObjectModelHelpers.FormatProjectContentsWithItemGroupFragment(projectContents)); 2802var project = ObjectModelHelpers.CreateInMemoryProject(ObjectModelHelpers.FormatProjectContentsWithItemGroupFragment(projectContents));
Microsoft.Build.Engine.UnitTests (31)
BackEnd\MSBuild_Tests.cs (11)
82Project p = ObjectModelHelpers.CreateInMemoryProject(parentProjectContents); 141Project p = ObjectModelHelpers.CreateInMemoryProject(parentProjectContents); 554Project p = ObjectModelHelpers.CreateInMemoryProject(parentProjectContents); 623Project p = ObjectModelHelpers.CreateInMemoryProject(parentProjectContents); 930Project p = ObjectModelHelpers.CreateInMemoryProject(parentProjectContents); 997Project p = ObjectModelHelpers.CreateInMemoryProject(parentProjectContents); 1050Project p = ObjectModelHelpers.CreateInMemoryProject(parentProjectContents); 1119Project p = ObjectModelHelpers.CreateInMemoryProject(parentProjectContents); 1186Project p = ObjectModelHelpers.CreateInMemoryProject(parentProjectContents); 1254Project p = ObjectModelHelpers.CreateInMemoryProject(parentProjectContents); 1801Project p = ObjectModelHelpers.CreateInMemoryProject(parentProjectContents);
Definition\Project_Internal_Tests.cs (1)
153var project = ObjectModelHelpers.CreateInMemoryProject("<Project></Project>");
EscapingInProjects_Tests.cs (12)
219Project project = ObjectModelHelpers.CreateInMemoryProject(projectOriginalContents); 264Project project = ObjectModelHelpers.CreateInMemoryProject(projectOriginalContents); 312Project project = ObjectModelHelpers.CreateInMemoryProject(projectOriginalContents); 363Project project = ObjectModelHelpers.CreateInMemoryProject(projectOriginalContents); 430Project project = ObjectModelHelpers.CreateInMemoryProject(projectOriginalContents); 472Project project = ObjectModelHelpers.CreateInMemoryProject(projectOriginalContents); 514Project project = ObjectModelHelpers.CreateInMemoryProject(projectOriginalContents); 679Project project = ObjectModelHelpers.CreateInMemoryProject(@" 708Project project = ObjectModelHelpers.CreateInMemoryProject(@" 742Project project = ObjectModelHelpers.CreateInMemoryProject(@" 776ObjectModelHelpers.CreateInMemoryProject(@" 800Project project = ObjectModelHelpers.CreateInMemoryProject(@"
Evaluation\Expander_Tests.cs (1)
3453ObjectModelHelpers.CreateInMemoryProject("<Project><PropertyGroup><foo>$([MSBuild]::GetPathOfFileAbove('foo'))</foo></PropertyGroup></Project>");
FileLogger_Tests.cs (3)
31Project project = ObjectModelHelpers.CreateInMemoryProject(@" 368Project project = ObjectModelHelpers.CreateInMemoryProject(@" 406Project project = ObjectModelHelpers.CreateInMemoryProject(@"
Parser_Tests.cs (1)
577var project = ObjectModelHelpers.CreateInMemoryProject(projectContent);
Utilities_Tests.cs (2)
152ObjectModelHelpers.CreateInMemoryProject(@" 169ObjectModelHelpers.CreateInMemoryProject(@"
Microsoft.Build.Tasks.UnitTests (3)
CallTarget_Tests.cs (1)
152Project project = ObjectModelHelpers.CreateInMemoryProject(@"
RegressionTests.cs (2)
33Project project = ObjectModelHelpers.CreateInMemoryProject($@" 60var project = ObjectModelHelpers.CreateInMemoryProject($@"