43 references to LoadedProjects
Microsoft.Build.Engine.OM.UnitTests (39)
Construction\ProjectRootElement_Tests.cs (2)
1054
Assert.Equal(iterations, collection.
LoadedProjects
.Count);
1079
Assert.Empty(collection.
LoadedProjects
);
Definition\ProjectCollection_Tests.cs (3)
428
List<Project> projects = Helpers.MakeList(ProjectCollection.GlobalProjectCollection.
LoadedProjects
);
705
Assert.Empty(Helpers.MakeList(ProjectCollection.GlobalProjectCollection.
LoadedProjects
));
794
Assert.True(ReferenceEquals(project, Helpers.MakeList(ProjectCollection.GlobalProjectCollection.
LoadedProjects
)[0]));
ObjectModelRemoting\Helpers\TestCollectionGroup.cs (3)
207
result.Add(this.Local, new HashSet<Project>(this.Local.Collection.
LoadedProjects
));
211
result.Add(r, new HashSet<Project>(r.Collection.
LoadedProjects
));
254
foreach (var p in linker.Collection.
LoadedProjects
)
ObjectModelRemoting\LinkedProjectCollection_Tests.cs (31)
41
var loadedLocal = pcLocal.Collection.
LoadedProjects
;
42
var loadedRemote = pcRemote.Collection.
LoadedProjects
;
51
loadedLocal = pcLocal.Collection.
LoadedProjects
;
84
var loadedLocal = pcLocal.Collection.
LoadedProjects
;
85
var loadedRemote0 = pcRemote0.Collection.
LoadedProjects
;
86
var loadedRemote1 = pcRemote1.Collection.
LoadedProjects
;
94
var loadedWithExternal = pcLocal.Collection.
LoadedProjects
;
132
Assert.Equal(0, pcLocal.Collection.
LoadedProjects
.Count);
133
Assert.Equal(0, pcRemote.Collection.
LoadedProjects
.Count);
136
Assert.Equal(1, pcLocal.Collection.
LoadedProjects
.Count);
140
Assert.Equal(2, pcLocal.Collection.
LoadedProjects
.Count);
144
Assert.Equal(3, pcLocal.Collection.
LoadedProjects
.Count);
148
Assert.Equal(2, pcLocal.Collection.
LoadedProjects
.Count);
159
Assert.Equal(0, this.StdGroup.Local.Collection.
LoadedProjects
.Count);
160
Assert.Equal(0, this.StdGroup.Remote[0].Collection.
LoadedProjects
.Count);
161
Assert.Equal(0, this.StdGroup.Remote[1].Collection.
LoadedProjects
.Count);
164
ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Local.Collection.
LoadedProjects
, 1, 0);
165
ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Remote[0].Collection.
LoadedProjects
, 0, 1);
166
ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Remote[1].Collection.
LoadedProjects
, 0, 1);
172
ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Local.Collection.
LoadedProjects
, 2, 0);
173
ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Remote[0].Collection.
LoadedProjects
, 0, 2);
174
ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Remote[1].Collection.
LoadedProjects
, 0, 2);
180
ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Local.Collection.
LoadedProjects
, 2, 1);
181
ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Remote[0].Collection.
LoadedProjects
, 1, 2);
182
ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Remote[1].Collection.
LoadedProjects
, 0, 3);
189
ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Local.Collection.
LoadedProjects
, 2, 2);
190
ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Remote[0].Collection.
LoadedProjects
, 1, 3);
191
ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Remote[1].Collection.
LoadedProjects
, 1, 3);
198
ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Local.Collection.
LoadedProjects
, 0, 2);
199
ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Remote[0].Collection.
LoadedProjects
, 1, 1);
200
ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Remote[1].Collection.
LoadedProjects
, 1, 1);
Microsoft.Build.Engine.UnitTests (4)
Construction\SolutionProjectGenerator_Tests.cs (4)
1898
Assert.Empty(ProjectCollection.GlobalProjectCollection.
LoadedProjects
);
1902
Assert.Empty(ProjectCollection.GlobalProjectCollection.
LoadedProjects
);
1955
Assert.Empty(ProjectCollection.GlobalProjectCollection.
LoadedProjects
);
1960
Assert.Empty(ProjectCollection.GlobalProjectCollection.
LoadedProjects
);