9 references to ShouldBeSetEquivalentTo
Microsoft.Build.Engine.UnitTests (7)
Collections\CopyOnWritePropertyDictionary_Tests.cs (2)
115
dic.
ShouldBeSetEquivalentTo
(new[] { a, b });
176
dic.
ShouldBeSetEquivalentTo
(new[] { a, b });
Graph\GraphLoadedFromSolution_tests.cs (1)
715
.
ShouldBeSetEquivalentTo
(graph.ProjectNodes.Select(GetProjectPath));
Graph\ParallelWorkSet_Tests.cs (1)
267
Should.Throw<AggregateException>(() => _workSet.WaitForAllWorkAndComplete()).InnerExceptions.
ShouldBeSetEquivalentTo
(observedExceptions);
Instance\TaskItem_Tests.cs (3)
193
item.MetadataNames.Cast<string>().
ShouldBeSetEquivalentTo
(new[] { "a", "b" }.Concat(s_builtInMetadataNames));
202
item.EnumerateMetadata().
ShouldBeSetEquivalentTo
(new KeyValuePair<string, string>[] { new("a", "override"), new("b", "base") });
204
((Dictionary<string, string>)item.CloneCustomMetadata()).
ShouldBeSetEquivalentTo
(new KeyValuePair<string, string>[] { new("a", "override"), new("b", "base") });
Microsoft.Build.Utilities.UnitTests (2)
TaskItem_Tests.cs (2)
92
taskItem.MetadataNames.Cast<string>().
ShouldBeSetEquivalentTo
(FileUtilities.ItemSpecModifiers.All);
98
taskItem.MetadataNames.Cast<string>().
ShouldBeSetEquivalentTo
(FileUtilities.ItemSpecModifiers.All.Concat(new[] { "m" }));