1 write to StdGroup
Microsoft.Build.Engine.OM.UnitTests (1)
ObjectModelRemoting\LinkedProjectCollection_Tests.cs (1)
22this.StdGroup = group;
87 references to StdGroup
Microsoft.Build.Engine.OM.UnitTests (87)
ObjectModelRemoting\LinkedProjectCollection_Tests.cs (87)
29var pcLocal = this.StdGroup.Local; 30var pcRemote = this.StdGroup.Remote[0]; 32var proj1Path = this.StdGroup.StdProjectFiles[0]; 33var proj2Path = this.StdGroup.StdProjectFiles[1]; 66var pcLocal = this.StdGroup.Local; 67var pcRemote0 = this.StdGroup.Remote[0]; 68var pcRemote1 = this.StdGroup.Remote[1]; 70var proj0Path = this.StdGroup.StdProjectFiles[0]; 71var proj1Path = this.StdGroup.StdProjectFiles[1]; 72var proj2Path = this.StdGroup.StdProjectFiles[2]; 73var proj3Path = this.StdGroup.StdProjectFiles[3]; 124var pcLocal = this.StdGroup.Local; 125var pcRemote = this.StdGroup.Remote[0]; 128var proj0Path = this.StdGroup.StdProjectFiles[0]; 129var proj1Path = this.StdGroup.StdProjectFiles[1]; 130var proj2Path = this.StdGroup.StdProjectFiles[2]; 156this.StdGroup.Local.Importing = true; 157Array.ForEach(StdGroup.Remote, (r) => r.Importing = true); 159Assert.Equal(0, this.StdGroup.Local.Collection.LoadedProjects.Count); 160Assert.Equal(0, this.StdGroup.Remote[0].Collection.LoadedProjects.Count); 161Assert.Equal(0, this.StdGroup.Remote[1].Collection.LoadedProjects.Count); 163this.StdGroup.Local.LoadProject(this.StdGroup.StdProjectFiles[0]); 164ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Local.Collection.LoadedProjects, 1, 0); 165ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Remote[0].Collection.LoadedProjects, 0, 1); 166ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Remote[1].Collection.LoadedProjects, 0, 1); 167this.StdGroup.Local.VerifyProjectCollectionLinks(this.StdGroup.StdProjectFiles[0], 1, 0); 168this.StdGroup.Remote[0].VerifyProjectCollectionLinks(this.StdGroup.StdProjectFiles[0], 0, 1); 169this.StdGroup.Remote[1].VerifyProjectCollectionLinks(this.StdGroup.StdProjectFiles[0], 0, 1); 171this.StdGroup.Local.LoadProject(this.StdGroup.StdProjectFiles[1]); 172ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Local.Collection.LoadedProjects, 2, 0); 173ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Remote[0].Collection.LoadedProjects, 0, 2); 174ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Remote[1].Collection.LoadedProjects, 0, 2); 175this.StdGroup.Local.VerifyProjectCollectionLinks(this.StdGroup.StdProjectFiles[1], 1, 0); 176this.StdGroup.Remote[0].VerifyProjectCollectionLinks(this.StdGroup.StdProjectFiles[1], 0, 1); 177this.StdGroup.Remote[1].VerifyProjectCollectionLinks(this.StdGroup.StdProjectFiles[1], 0, 1); 179this.StdGroup.Remote[0].LoadProject(this.StdGroup.StdProjectFiles[2]); 180ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Local.Collection.LoadedProjects, 2, 1); 181ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Remote[0].Collection.LoadedProjects, 1, 2); 182ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Remote[1].Collection.LoadedProjects, 0, 3); 183this.StdGroup.Local.VerifyProjectCollectionLinks(this.StdGroup.StdProjectFiles[2], 0, 1); 184this.StdGroup.Remote[0].VerifyProjectCollectionLinks(this.StdGroup.StdProjectFiles[2], 1, 0); 185this.StdGroup.Remote[1].VerifyProjectCollectionLinks(this.StdGroup.StdProjectFiles[2], 0, 1); 188this.StdGroup.Remote[1].LoadProject(this.StdGroup.StdProjectFiles[0]); 189ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Local.Collection.LoadedProjects, 2, 2); 190ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Remote[0].Collection.LoadedProjects, 1, 3); 191ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Remote[1].Collection.LoadedProjects, 1, 3); 192this.StdGroup.Local.VerifyProjectCollectionLinks(this.StdGroup.StdProjectFiles[0], 1, 1); 193this.StdGroup.Remote[0].VerifyProjectCollectionLinks(this.StdGroup.StdProjectFiles[0], 0, 2); 194this.StdGroup.Remote[1].VerifyProjectCollectionLinks(this.StdGroup.StdProjectFiles[0], 1, 1); 196this.StdGroup.Local.Collection.UnloadAllProjects(); 198ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Local.Collection.LoadedProjects, 0, 2); 199ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Remote[0].Collection.LoadedProjects, 1, 1); 200ViewValidation.VerifyProjectCollectionLinks(this.StdGroup.Remote[1].Collection.LoadedProjects, 1, 1); 201this.StdGroup.Local.VerifyProjectCollectionLinks(this.StdGroup.StdProjectFiles[0], 0, 1); 202this.StdGroup.Remote[0].VerifyProjectCollectionLinks(this.StdGroup.StdProjectFiles[0], 0, 1); 203this.StdGroup.Remote[1].VerifyProjectCollectionLinks(this.StdGroup.StdProjectFiles[0], 1, 0); 205this.StdGroup.Local.VerifyProjectCollectionLinks(this.StdGroup.StdProjectFiles[1], 0, 0); 206this.StdGroup.Remote[0].VerifyProjectCollectionLinks(this.StdGroup.StdProjectFiles[1], 0, 0); 207this.StdGroup.Remote[1].VerifyProjectCollectionLinks(this.StdGroup.StdProjectFiles[1], 0, 0); 209this.StdGroup.Local.VerifyProjectCollectionLinks(this.StdGroup.StdProjectFiles[2], 0, 1); 210this.StdGroup.Remote[0].VerifyProjectCollectionLinks(this.StdGroup.StdProjectFiles[2], 1, 0); 211this.StdGroup.Remote[1].VerifyProjectCollectionLinks(this.StdGroup.StdProjectFiles[2], 0, 1);