1 instantiation of EndsWithException
xunit.assert (1)
Sdk\Exceptions\EndsWithException.cs (1)
43
new
EndsWithException
(
32 references to EndsWithException
Microsoft.DotNet.XUnitAssert.Tests (12)
Asserts\MemoryAssertsTests.cs (4)
432
Assert.IsType<
EndsWithException
>(ex);
454
Assert.IsType<
EndsWithException
>(ex);
485
Assert.IsType<
EndsWithException
>(ex);
508
Assert.IsType<
EndsWithException
>(ex);
Asserts\SpanAssertsTests.cs (4)
432
Assert.IsType<
EndsWithException
>(ex);
454
Assert.IsType<
EndsWithException
>(ex);
485
Assert.IsType<
EndsWithException
>(ex);
508
Assert.IsType<
EndsWithException
>(ex);
Asserts\StringAssertsTests.cs (4)
426
Assert.IsType<
EndsWithException
>(ex);
453
Assert.IsType<
EndsWithException
>(ex);
492
Assert.IsType<
EndsWithException
>(ex);
511
Assert.IsType<
EndsWithException
>(ex);
xunit.assert (20)
Sdk\Exceptions\EndsWithException.cs (2)
29
/// Creates an instance of the <see cref="
EndsWithException
"/> class to be thrown
35
public static
EndsWithException
ForStringNotFound(
StringAsserts.cs (18)
609
throw
EndsWithException
.ForStringNotFound(expectedEndString, actualString);
617
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
628
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
639
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
650
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
662
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
675
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
688
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
701
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
717
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
728
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
739
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
750
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
762
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
775
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
788
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
801
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
808
throw
EndsWithException
.ForStringNotFound(expectedEndString.ToString(), actualString.ToString());