1 instantiation of EndsWithException
xunit.assert (1)
Sdk\Exceptions\EndsWithException.cs (1)
40
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)
26
/// Creates an instance of the <see cref="
EndsWithException
"/> class to be thrown
32
public static
EndsWithException
ForStringNotFound(
StringAsserts.cs (18)
621
throw
EndsWithException
.ForStringNotFound(expectedEndString, actualString);
631
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
642
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
653
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
664
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
676
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
689
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
702
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
715
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
731
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
742
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
753
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
764
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
776
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
789
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
802
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
815
/// <exception cref="
EndsWithException
">Thrown when the string does not end with the expected sub-string</exception>
822
throw
EndsWithException
.ForStringNotFound(expectedEndString.ToString(), actualString.ToString());