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