1 instantiation of FailException
xunit.assert (1)
Sdk\Exceptions\FailException.cs (1)
36
new
FailException
(message ?? "Assert.Fail() Failure");
7 references to FailException
Microsoft.DotNet.XUnitAssert.Tests (2)
FailAssertsTests.cs (2)
11
Assert.IsType<
FailException
>(ex);
20
Assert.IsType<
FailException
>(ex);
Microsoft.Extensions.AI.Evaluation.Integration.Tests (1)
TestEvaluator.cs (1)
23
? throw
FailException
.ForFailure("Evaluation failed.")
Templates.Mvc.Tests (1)
BlazorTemplateTest.cs (1)
190
throw
FailException
.ForFailure($"Expected file to exist, but it doesn't: {singleProjectPath}");
xunit.assert (3)
FailAsserts.cs (1)
38
throw
FailException
.ForFailure(message);
Sdk\Exceptions\FailException.cs (2)
27
/// Creates a new instance of the <see cref="
FailException
"/> class to be thrown when
32
public static
FailException
ForFailure(string? message) =>