13 references to VerifySame
Microsoft.Build.Engine.OM.UnitTests (13)
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (8)
183
newTarget1.
VerifySame
(xmlPair.QuerySingleChildrenWithValidation<ProjectTargetElement>((t) => string.Equals(t.Name, NewTargetRenamed)));
189
newTarget1.
VerifySame
(xmlPair.QuerySingleChildrenWithValidation<ProjectTargetElement>((t) => string.Equals(t.Name, NewTargetRenamed.Ver(2))));
386
when1.
VerifySame
(choose.QuerySingleChildrenWithValidation<ProjectWhenElement>((ch) => ch.Label == when1.View.Label));
387
when2.
VerifySame
(choose.QuerySingleChildrenWithValidation<ProjectWhenElement>((ch) => ch.Label == when2.View.Label));
399
when1.
VerifySame
(choose.QuerySingleChildrenWithValidation<ProjectWhenElement>((ch) => ch.Label == when1.View.Label));
494
usingTaskFile.
VerifySame
(xmlPair.QuerySingleChildrenWithValidation<ProjectUsingTaskElement>((ut) => true));
751
setNewProp1_2.
VerifySame
(setNewProp1);
752
setNewProp2_2.
VerifySame
(setNewProp2);
ObjectModelRemoting\LinkedSpecialCasesScenarios.cs (5)
130
clonedPair.
VerifySame
(xmlPair.QuerySingleChildrenWithValidation<ProjectItemGroupElement>((ig) => ig == clonedPair.View || ig == clonedPair.Real));
170
newCopyFrom.
VerifySame
(xmlPair.QuerySingleChildrenWithValidation<ProjectItemGroupElement>((ig) => ig.Label == "CopyFrom"));
171
ourGroup1.
VerifySame
(xmlPair.QuerySingleChildrenWithValidation<ProjectItemGroupElement>((ig) => ig.Label == "Group1"));
196
newDeepCopy.
VerifySame
(xmlPair.QuerySingleChildrenWithValidation<ProjectItemGroupElement>((ig) => ig.Label == "DeepCopyFrom"));
197
ourGroup1.
VerifySame
(xmlPair.QuerySingleChildrenWithValidation<ProjectItemGroupElement>((ig) => ig.Label == "Group1"));