9 references to testCode
Microsoft.DotNet.XUnitAssert.Tests (9)
Asserts\ExceptionAssertsTests.cs (9)
1551 var ex = await Record.ExceptionAsync(() => Assert.ThrowsAnyAsync<ArgumentException>(testCode, _ => null)); 1567 await Assert.ThrowsAnyAsync<ArgumentException>(testCode, _ => null); 1575 var ex = await Record.ExceptionAsync(() => Assert.ThrowsAnyAsync<ArgumentException>(testCode, _ => "I don't like this exception")); 1588 var ex = await Record.ExceptionAsync(() => Assert.ThrowsAnyAsync<ArgumentException>(testCode, _ => throw thrownByInspector)); 1601 var ex = await Record.ExceptionAsync(() => Assert.ThrowsAnyAsync<ArgumentException>(testCode, _ => null)); 1618 await Assert.ThrowsAnyAsync<ArgumentException>(testCode, _ => null); 1626 var ex = await Record.ExceptionAsync(() => Assert.ThrowsAnyAsync<ArgumentException>(testCode, _ => "I don't like this exception")); 1639 var ex = await Record.ExceptionAsync(() => Assert.ThrowsAnyAsync<ArgumentException>(testCode, _ => throw thrownByInspector)); 1653 await Assert.ThrowsAnyAsync<Exception>(testCode, _ => null);