13 references to DoesNotContain
Microsoft.DotNet.XUnitAssert.Tests (13)
Asserts\MemoryAssertsTests.cs (7)
200 Assert.DoesNotContain("hey".Memoryify(), "Hello, world!".Memoryify()); 212 Assert.DoesNotContain("WORLD".Memoryify(), "Hello, world!".Memoryify()); 263 var ex = Record.Exception(() => Assert.DoesNotContain("world".Memoryify(), "Hello, world!".Memoryify())); 284 Assert.DoesNotContain("foo".Memoryify(), default(string).Memoryify()); 290 var ex = Record.Exception(() => Assert.DoesNotContain("world".Memoryify(), "Hello, world from a very long string that will end up being truncated".Memoryify())); 305 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())); 320 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()));
Asserts\StringAssertsTests.cs (6)
144 Assert.DoesNotContain("hey".Memoryify(), "Hello, world!".Memoryify()); 158 Assert.DoesNotContain("WORLD".Memoryify(), "Hello, world!".Memoryify()); 186 verify(() => Assert.DoesNotContain("world".Memoryify(), "Hello, world!".Memoryify())); 220 verify(() => Assert.DoesNotContain("world".Memoryify(), "Hello, world from a very long string that will end up being truncated".Memoryify())); 248 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())); 276 verify(() => Assert.DoesNotContain("world".Memoryify(), "This is a relatively long string that will from the front truncated, just to say 'Hello, world'".Memoryify()));