19 references to NewValue
Microsoft.Build.Engine.OM.UnitTests (19)
Definition\ProtectImports_Tests.cs (19)
138property.UnevaluatedValue = NewValue; 152project.SetProperty(PropertyName, NewValue); 154Assert.Equal(NewValue, project.GetPropertyValue(PropertyName)); 245item.ItemType = NewValue; 246Assert.Single(project.GetItems(NewValue)); // "Item in project didn't change name" 259item.Rename(NewValue); 260Assert.Equal(NewValue, item.EvaluatedInclude); // "Item in project didn't change name." 273item.UnevaluatedInclude = NewValue; 274Assert.Equal(NewValue, item.EvaluatedInclude); // "Item in project didn't change name." 338metadata.UnevaluatedValue = NewValue; 365item.SetMetadataValue(ProjectMetadataName, NewValue); 366Assert.Equal(NewValue, item.GetMetadataValue(ProjectMetadataName)); // "Metadata not saved correctly in project." 380item.SetMetadataValue(newName, NewValue); 381Assert.Equal(NewValue, item.GetMetadataValue(newName)); // "Metadata not saved correctly in project." 431metadata.UnevaluatedValue = NewValue; 458item.SetMetadataValue(OverridableMetadataName, NewValue); 459Assert.Equal(NewValue, item.GetMetadataValue(OverridableMetadataName)); // "Metadata not set correctly in project." 472metadata.UnevaluatedValue = NewValue; 473Assert.Equal(NewValue, metadata.EvaluatedValue);