24 references to GetSingleItemWithVerify
Microsoft.Build.Engine.OM.UnitTests (24)
ObjectModelRemoting\Helpers\ViewValidation.evaluation.cs (1)
35Assert.Same(result, this.GetSingleItemWithVerify(where, result.EvaluatedInclude));
ObjectModelRemoting\LinkedEvaluationModify_Tests.cs (23)
128Assert.Null(pair.GetSingleItemWithVerify(ObjectType.View, "foo.cpp")); 131Assert.Null(pair.GetSingleItemWithVerify(ObjectType.View, "fooFast.cpp")); 134Assert.Null(pair.GetSingleItemWithVerify(ObjectType.View, "fooWithMetadata.cpp")); 137Assert.Null(pair.GetSingleItemWithVerify(ObjectType.View, "fooWithMetadataFast.cpp")); 141Assert.Null(pair.GetSingleItemWithVerify(ObjectType.Real, "bar.cpp")); 144Assert.Null(pair.GetSingleItemWithVerify(ObjectType.Real, "barFast.cpp")); 147Assert.Null(pair.GetSingleItemWithVerify(ObjectType.Real, "barWithMetadata.cpp")); 150Assert.Null(pair.GetSingleItemWithVerify(ObjectType.Real, "barWithMetadataFast.cpp")); 161Assert.NotNull(pair.GetSingleItemWithVerify(ObjectType.View, "barWithMetadataFast.cpp")); 162var barWithMetadataViewFast = pair.GetSingleItemWithVerify(ObjectType.View, "barWithMetadataFast.cpp"); 172Assert.Null(pair.GetSingleItemWithVerify(ObjectType.View, "barWithMetadataFast.cpp")); 177Assert.NotNull(pair.GetSingleItemWithVerify(ObjectType.View, "fooWithMetadata.cpp")); 178var barWithMetadataView = pair.GetSingleItemWithVerify(ObjectType.View, "barWithMetadata.cpp"); 189Assert.Null(pair.GetSingleItemWithVerify(ObjectType.View, "fooWithMetadata.cpp")); 190Assert.Null(pair.GetSingleItemWithVerify(ObjectType.View, "barWithMetadata.cpp")); 196Assert.NotNull(pair.GetSingleItemWithVerify(ObjectType.Real, "fooWithMetadataFast.cpp")); 197var fooWithMetadataRealFast = pair.GetSingleItemWithVerify(ObjectType.Real, "fooWithMetadataFast.cpp"); 210Assert.Null(pair.GetSingleItemWithVerify(ObjectType.Real, "fooWithMetadataFast.cpp")); 215Assert.NotNull(pair.GetSingleItemWithVerify(ObjectType.Real, "barFast.cpp")); 216var fooRealFast = pair.GetSingleItemWithVerify(ObjectType.Real, "fooFast.cpp"); 227Assert.Null(pair.GetSingleItemWithVerify(ObjectType.Real, "fooFast.cpp")); 228Assert.Null(pair.GetSingleItemWithVerify(ObjectType.Real, "barFast.cpp")); 233var fooReal = pair.GetSingleItemWithVerify(ObjectType.Real, "foo.cpp");