24 references to Real
Microsoft.Build.Engine.OM.UnitTests (24)
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (6)
90
c2 = AppendNewChaildWithVerify(ObjectType.
Real
, id.Ver(2), adder, matcher);
97
c2 = AppendNewNamedChaildWithVerify(ObjectType.
Real
, name.Ver(2), adder);
104
c2 = AppendNewLabeledChaildWithVerify(ObjectType.
Real
, label.Ver(2), adder);
111
c2 = AddNewChaildWithVerify(ObjectType.
Real
, id.Ver(2), adder, matcher);
118
c2 = AddNewNamedChaildWithVerify(ObjectType.
Real
, name.Ver(2), adder);
125
c2 = AddNewLabeledChaildWithVerify(ObjectType.
Real
, label.Ver(2), adder);
ObjectModelRemoting\Helpers\ViewValidation.cs (1)
31
public T Get(ObjectType type) => type == ObjectType.
Real
? this.Real : this.View;
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (1)
320
var newTask = newTarget.AddNewNamedChaildWithVerify<ProjectTaskElement>(ObjectType.
Real
, "NewTaskName", (t, n) => t.AddTask(n));
ObjectModelRemoting\LinkedEvaluationModify_Tests.cs (16)
141
Assert.Null(pair.GetSingleItemWithVerify(ObjectType.
Real
, "bar.cpp"));
142
var barReal = pair.AddSingleItemWithVerify(ObjectType.
Real
, "cpp", "bar.cpp");
144
Assert.Null(pair.GetSingleItemWithVerify(ObjectType.
Real
, "barFast.cpp"));
145
var barRealFast = pair.AddSingleItemFastWithVerify(ObjectType.
Real
, "cpp", "barFast.cpp");
147
Assert.Null(pair.GetSingleItemWithVerify(ObjectType.
Real
, "barWithMetadata.cpp"));
148
var barWithMetadataReal = pair.AddSingleItemWithVerify(ObjectType.
Real
, "cpp", "barWithMetadata.cpp", testMedatada);
150
Assert.Null(pair.GetSingleItemWithVerify(ObjectType.
Real
, "barWithMetadataFast.cpp"));
151
var barWithMetadataRealFast = pair.AddSingleItemWithVerify(ObjectType.
Real
, "cpp", "barWithMetadataFast.cpp", testMedatada);
196
Assert.NotNull(pair.GetSingleItemWithVerify(ObjectType.
Real
, "fooWithMetadataFast.cpp"));
197
var fooWithMetadataRealFast = pair.GetSingleItemWithVerify(ObjectType.
Real
, "fooWithMetadataFast.cpp");
210
Assert.Null(pair.GetSingleItemWithVerify(ObjectType.
Real
, "fooWithMetadataFast.cpp"));
215
Assert.NotNull(pair.GetSingleItemWithVerify(ObjectType.
Real
, "barFast.cpp"));
216
var fooRealFast = pair.GetSingleItemWithVerify(ObjectType.
Real
, "fooFast.cpp");
227
Assert.Null(pair.GetSingleItemWithVerify(ObjectType.
Real
, "fooFast.cpp"));
228
Assert.Null(pair.GetSingleItemWithVerify(ObjectType.
Real
, "barFast.cpp"));
233
var fooReal = pair.GetSingleItemWithVerify(ObjectType.
Real
, "foo.cpp");