1 write to StdGroup
Microsoft.Build.Engine.OM.UnitTests (1)
ObjectModelRemoting\LinkedProjectCollection_Tests.cs (1)
22
this.
StdGroup
= group;
87 references to StdGroup
Microsoft.Build.Engine.OM.UnitTests (87)
ObjectModelRemoting\LinkedProjectCollection_Tests.cs (87)
29
var pcLocal = this.
StdGroup
.Local;
30
var pcRemote = this.
StdGroup
.Remote[0];
32
var proj1Path = this.
StdGroup
.StdProjectFiles[0];
33
var proj2Path = this.
StdGroup
.StdProjectFiles[1];
66
var pcLocal = this.
StdGroup
.Local;
67
var pcRemote0 = this.
StdGroup
.Remote[0];
68
var pcRemote1 = this.
StdGroup
.Remote[1];
70
var proj0Path = this.
StdGroup
.StdProjectFiles[0];
71
var proj1Path = this.
StdGroup
.StdProjectFiles[1];
72
var proj2Path = this.
StdGroup
.StdProjectFiles[2];
73
var proj3Path = this.
StdGroup
.StdProjectFiles[3];
124
var pcLocal = this.
StdGroup
.Local;
125
var pcRemote = this.
StdGroup
.Remote[0];
128
var proj0Path = this.
StdGroup
.StdProjectFiles[0];
129
var proj1Path = this.
StdGroup
.StdProjectFiles[1];
130
var proj2Path = this.
StdGroup
.StdProjectFiles[2];
156
this.
StdGroup
.Local.Importing = true;
157
Array.ForEach(
StdGroup
.Remote, (r) => r.Importing = true);
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);
163
this.
StdGroup
.Local.LoadProject(this.
StdGroup
.StdProjectFiles[0]);
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);
167
this.
StdGroup
.Local.VerifyProjectCollectionLinks(this.
StdGroup
.StdProjectFiles[0], 1, 0);
168
this.
StdGroup
.Remote[0].VerifyProjectCollectionLinks(this.
StdGroup
.StdProjectFiles[0], 0, 1);
169
this.
StdGroup
.Remote[1].VerifyProjectCollectionLinks(this.
StdGroup
.StdProjectFiles[0], 0, 1);
171
this.
StdGroup
.Local.LoadProject(this.
StdGroup
.StdProjectFiles[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);
175
this.
StdGroup
.Local.VerifyProjectCollectionLinks(this.
StdGroup
.StdProjectFiles[1], 1, 0);
176
this.
StdGroup
.Remote[0].VerifyProjectCollectionLinks(this.
StdGroup
.StdProjectFiles[1], 0, 1);
177
this.
StdGroup
.Remote[1].VerifyProjectCollectionLinks(this.
StdGroup
.StdProjectFiles[1], 0, 1);
179
this.
StdGroup
.Remote[0].LoadProject(this.
StdGroup
.StdProjectFiles[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);
183
this.
StdGroup
.Local.VerifyProjectCollectionLinks(this.
StdGroup
.StdProjectFiles[2], 0, 1);
184
this.
StdGroup
.Remote[0].VerifyProjectCollectionLinks(this.
StdGroup
.StdProjectFiles[2], 1, 0);
185
this.
StdGroup
.Remote[1].VerifyProjectCollectionLinks(this.
StdGroup
.StdProjectFiles[2], 0, 1);
188
this.
StdGroup
.Remote[1].LoadProject(this.
StdGroup
.StdProjectFiles[0]);
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);
192
this.
StdGroup
.Local.VerifyProjectCollectionLinks(this.
StdGroup
.StdProjectFiles[0], 1, 1);
193
this.
StdGroup
.Remote[0].VerifyProjectCollectionLinks(this.
StdGroup
.StdProjectFiles[0], 0, 2);
194
this.
StdGroup
.Remote[1].VerifyProjectCollectionLinks(this.
StdGroup
.StdProjectFiles[0], 1, 1);
196
this.
StdGroup
.Local.Collection.UnloadAllProjects();
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);
201
this.
StdGroup
.Local.VerifyProjectCollectionLinks(this.
StdGroup
.StdProjectFiles[0], 0, 1);
202
this.
StdGroup
.Remote[0].VerifyProjectCollectionLinks(this.
StdGroup
.StdProjectFiles[0], 0, 1);
203
this.
StdGroup
.Remote[1].VerifyProjectCollectionLinks(this.
StdGroup
.StdProjectFiles[0], 1, 0);
205
this.
StdGroup
.Local.VerifyProjectCollectionLinks(this.
StdGroup
.StdProjectFiles[1], 0, 0);
206
this.
StdGroup
.Remote[0].VerifyProjectCollectionLinks(this.
StdGroup
.StdProjectFiles[1], 0, 0);
207
this.
StdGroup
.Remote[1].VerifyProjectCollectionLinks(this.
StdGroup
.StdProjectFiles[1], 0, 0);
209
this.
StdGroup
.Local.VerifyProjectCollectionLinks(this.
StdGroup
.StdProjectFiles[2], 0, 1);
210
this.
StdGroup
.Remote[0].VerifyProjectCollectionLinks(this.
StdGroup
.StdProjectFiles[2], 1, 0);
211
this.
StdGroup
.Remote[1].VerifyProjectCollectionLinks(this.
StdGroup
.StdProjectFiles[2], 0, 1);