1 instantiation of EndsWithException
xunit.assert (1)
Sdk\Exceptions\EndsWithException.cs (1)
45
new
EndsWithException
(
32 references to EndsWithException
Microsoft.DotNet.XUnitAssert.Tests (12)
MemoryAssertsTests.cs (4)
437
Assert.IsType<
EndsWithException
>(ex);
459
Assert.IsType<
EndsWithException
>(ex);
490
Assert.IsType<
EndsWithException
>(ex);
513
Assert.IsType<
EndsWithException
>(ex);
SpanAssertsTests.cs (4)
437
Assert.IsType<
EndsWithException
>(ex);
459
Assert.IsType<
EndsWithException
>(ex);
490
Assert.IsType<
EndsWithException
>(ex);
513
Assert.IsType<
EndsWithException
>(ex);
StringAssertsTests.cs (4)
451
Assert.IsType<
EndsWithException
>(ex);
480
Assert.IsType<
EndsWithException
>(ex);
523
Assert.IsType<
EndsWithException
>(ex);
542
Assert.IsType<
EndsWithException
>(ex);
xunit.assert (20)
Sdk\Exceptions\EndsWithException.cs (2)
31
/// Creates an instance of the <see cref="
EndsWithException
"/> class to be thrown
37
public static
EndsWithException
ForStringNotFound(
StringAsserts.cs (18)
629
throw
EndsWithException
.ForStringNotFound(expectedEndString, actualString);
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>
661
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
672
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
684
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
697
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
710
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
723
/// <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>
761
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
772
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
784
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
797
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
810
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
823
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
830
throw
EndsWithException
.ForStringNotFound(expectedEndString.ToString(), actualString.ToString());