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