24 references to GetSingleItemWithVerify
Microsoft.Build.Engine.OM.UnitTests (24)
ObjectModelRemoting\Helpers\ViewValidation.evaluation.cs (1)
35
Assert.Same(result, this.
GetSingleItemWithVerify
(where, result.EvaluatedInclude));
ObjectModelRemoting\LinkedEvaluationModify_Tests.cs (23)
128
Assert.Null(pair.
GetSingleItemWithVerify
(ObjectType.View, "foo.cpp"));
131
Assert.Null(pair.
GetSingleItemWithVerify
(ObjectType.View, "fooFast.cpp"));
134
Assert.Null(pair.
GetSingleItemWithVerify
(ObjectType.View, "fooWithMetadata.cpp"));
137
Assert.Null(pair.
GetSingleItemWithVerify
(ObjectType.View, "fooWithMetadataFast.cpp"));
141
Assert.Null(pair.
GetSingleItemWithVerify
(ObjectType.Real, "bar.cpp"));
144
Assert.Null(pair.
GetSingleItemWithVerify
(ObjectType.Real, "barFast.cpp"));
147
Assert.Null(pair.
GetSingleItemWithVerify
(ObjectType.Real, "barWithMetadata.cpp"));
150
Assert.Null(pair.
GetSingleItemWithVerify
(ObjectType.Real, "barWithMetadataFast.cpp"));
161
Assert.NotNull(pair.
GetSingleItemWithVerify
(ObjectType.View, "barWithMetadataFast.cpp"));
162
var barWithMetadataViewFast = pair.
GetSingleItemWithVerify
(ObjectType.View, "barWithMetadataFast.cpp");
172
Assert.Null(pair.
GetSingleItemWithVerify
(ObjectType.View, "barWithMetadataFast.cpp"));
177
Assert.NotNull(pair.
GetSingleItemWithVerify
(ObjectType.View, "fooWithMetadata.cpp"));
178
var barWithMetadataView = pair.
GetSingleItemWithVerify
(ObjectType.View, "barWithMetadata.cpp");
189
Assert.Null(pair.
GetSingleItemWithVerify
(ObjectType.View, "fooWithMetadata.cpp"));
190
Assert.Null(pair.
GetSingleItemWithVerify
(ObjectType.View, "barWithMetadata.cpp"));
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");