11 references to DoesNotContain
Microsoft.AspNetCore.Components.Tests (3)
ComponentsMetricsTest.cs (3)
92Assert.DoesNotContain("error.type", measurements[0].Tags); 178Assert.DoesNotContain("error.type", measurements[0].Tags); 259Assert.DoesNotContain("error.type", measurements[0].Tags);
Microsoft.DotNet.XUnitAssert.Tests (4)
DictionaryAssertsTests.cs (4)
78 Assert.DoesNotContain("FORTY-two", (IReadOnlyDictionary<string, int>)dictionary); 81 Assert.DoesNotContain("FORTY-two", (IImmutableDictionary<string, int>)dictionary.ToImmutableDictionary()); 109 assertFailure(() => Assert.DoesNotContain("FORTY-two", (IReadOnlyDictionary<string, int>)dictionary)); 112 assertFailure(() => Assert.DoesNotContain("FORTY-two", (IImmutableDictionary<string, int>)dictionary.ToImmutableDictionary(StringComparer.InvariantCultureIgnoreCase)));
xunit.assert (4)
DictionaryAsserts.cs (4)
264 => DoesNotContain(expected, (IReadOnlyDictionary<TKey, TValue>)collection); 280 => DoesNotContain(expected, (IReadOnlyDictionary<TKey, TValue>)collection); 296 => DoesNotContain(expected, (IReadOnlyDictionary<TKey, TValue>)collection); 318 => DoesNotContain(expected, (IReadOnlyDictionary<TKey, TValue>)collection);