13 references to DoesNotContain
Microsoft.DotNet.XUnitAssert.Tests (13)
MemoryAssertsTests.cs (7)
205 Assert.DoesNotContain("hey".Memoryify(), "Hello, world!".Memoryify());
217 Assert.DoesNotContain("WORLD".Memoryify(), "Hello, world!".Memoryify());
268 var ex = Record.Exception(() => Assert.DoesNotContain("world".Memoryify(), "Hello, world!".Memoryify()));
289 Assert.DoesNotContain("foo".Memoryify(), default(string).Memoryify());
295 var ex = Record.Exception(() => Assert.DoesNotContain("world".Memoryify(), "Hello, world from a very long string that will end up being truncated".Memoryify()));
310 var ex = Record.Exception(() => Assert.DoesNotContain("world".Memoryify(), "This is a relatively long string that has 'Hello, world' placed in the middle so that we can dual trunaction".Memoryify()));
325 var ex = Record.Exception(() => Assert.DoesNotContain("world".Memoryify(), "This is a relatively long string that will from the front truncated, just to say 'Hello, world'".Memoryify()));
StringAssertsTests.cs (6)
154 Assert.DoesNotContain("hey".Memoryify(), "Hello, world!".Memoryify());
170 Assert.DoesNotContain("WORLD".Memoryify(), "Hello, world!".Memoryify());
200 verify(() => Assert.DoesNotContain("world".Memoryify(), "Hello, world!".Memoryify()));
236 verify(() => Assert.DoesNotContain("world".Memoryify(), "Hello, world from a very long string that will end up being truncated".Memoryify()));
266 verify(() => Assert.DoesNotContain("world".Memoryify(), "This is a relatively long string that has 'Hello, world' placed in the middle so that we can dual trunaction".Memoryify()));
296 verify(() => Assert.DoesNotContain("world".Memoryify(), "This is a relatively long string that will from the front truncated, just to say 'Hello, world'".Memoryify()));