7 references to testCode
Microsoft.DotNet.XUnitAssert.Tests (7)
Asserts\ExceptionAssertsTests.cs (7)
1764 var ex = await Record.ExceptionAsync(() => Assert.ThrowsAsync<ArgumentException>(testCode, _ => null)); 1780 await Assert.ThrowsAsync<ArgumentException>(testCode, _ => null); 1788 var ex = await Record.ExceptionAsync(() => Assert.ThrowsAsync<ArgumentException>(testCode, _ => "I don't like this exception")); 1801 var ex = await Record.ExceptionAsync(() => Assert.ThrowsAsync<ArgumentException>(testCode, _ => throw thrownByInspector)); 1814 var ex = await Record.ExceptionAsync(() => Assert.ThrowsAsync<ArgumentException>(testCode, _ => null)); 1832 var ex = await Record.ExceptionAsync(() => Assert.ThrowsAsync<ArgumentException>(testCode, _ => null)); 1851 await Assert.ThrowsAsync<Exception>(testCode, _ => null);