10 references to DoesNotContain
Microsoft.DotNet.XUnitAssert.Tests (2)
SpanAssertsTests.cs (1)
223
var ex = Record.Exception(() => Assert.
DoesNotContain
("WORLD".AsSpan(), "Hello, world!".AsSpan(), StringComparison.OrdinalIgnoreCase));
StringAssertsTests.cs (1)
333
verify(() => Assert.
DoesNotContain
("WORLD".AsSpan(), "Hello, world!".AsSpan(), StringComparison.OrdinalIgnoreCase));
xunit.assert (8)
StringAsserts.cs (8)
415
DoesNotContain
(expectedSubstring.Span, actualString.Span, comparisonType);
429
DoesNotContain
((ReadOnlySpan<char>)expectedSubstring, (ReadOnlySpan<char>)actualString, comparisonType);
442
DoesNotContain
((ReadOnlySpan<char>)expectedSubstring, actualString, comparisonType);
455
DoesNotContain
(expectedSubstring, (ReadOnlySpan<char>)actualString, comparisonType);
483
DoesNotContain
((ReadOnlySpan<char>)expectedSubstring, (ReadOnlySpan<char>)actualString, StringComparison.CurrentCulture);
494
DoesNotContain
((ReadOnlySpan<char>)expectedSubstring, actualString, StringComparison.CurrentCulture);
505
DoesNotContain
(expectedSubstring, (ReadOnlySpan<char>)actualString, StringComparison.CurrentCulture);
516
DoesNotContain
(expectedSubstring, actualString, StringComparison.CurrentCulture);