8 references to DoesNotMatch
dotnet.Tests (4)
CommandTests\Test\GivenDotnetTestBuildsAndRunsTestsWithDifferentOptions.cs (4)
72Assert.DoesNotMatch(RegexPatternHelper.GenerateProjectRegexPattern("OtherTestProject", TestingConstants.Passed, true, configuration), result.StdOut); 89Assert.DoesNotMatch(RegexPatternHelper.GenerateProjectRegexPattern("OtherTestProject", TestingConstants.Passed, true, configuration), result.StdOut); 129Assert.DoesNotMatch(RegexPatternHelper.GenerateProjectRegexPattern("OtherTestProject", TestingConstants.Passed, true, configuration), result.StdOut); 521Assert.DoesNotMatch(RegexPatternHelper.GenerateProjectRegexPattern("TestProject", TestingConstants.Failed, false, configuration), result.StdOut);
Microsoft.DotNet.XUnitAssert.Tests (4)
StringAssertsTests.cs (4)
344 Assert.Throws<ArgumentNullException>(() => Assert.DoesNotMatch((string?)null!, "Hello, world!")); 345 Assert.DoesNotMatch(@"\w+", null); 351 Assert.DoesNotMatch(@"\d", "Hello"); 357 var ex = Record.Exception(() => Assert.DoesNotMatch(@"\w", "Hello, world!"));