1 instantiation of StartsWithException
xunit.assert (1)
Sdk\Exceptions\StartsWithException.cs (1)
45
new
StartsWithException
(
32 references to StartsWithException
Microsoft.DotNet.XUnitAssert.Tests (12)
MemoryAssertsTests.cs (4)
854
Assert.IsType<
StartsWithException
>(ex);
876
Assert.IsType<
StartsWithException
>(ex);
907
Assert.IsType<
StartsWithException
>(ex);
930
Assert.IsType<
StartsWithException
>(ex);
SpanAssertsTests.cs (4)
854
Assert.IsType<
StartsWithException
>(ex);
876
Assert.IsType<
StartsWithException
>(ex);
907
Assert.IsType<
StartsWithException
>(ex);
930
Assert.IsType<
StartsWithException
>(ex);
StringAssertsTests.cs (4)
853
Assert.IsType<
StartsWithException
>(ex);
882
Assert.IsType<
StartsWithException
>(ex);
925
Assert.IsType<
StartsWithException
>(ex);
944
Assert.IsType<
StartsWithException
>(ex);
xunit.assert (20)
Sdk\Exceptions\StartsWithException.cs (2)
31
/// Creates an instance of the <see cref="
StartsWithException
"/> class to be thrown
37
public static
StartsWithException
ForStringNotFound(
StringAsserts.cs (18)
1422
throw
StartsWithException
.ForStringNotFound(expectedStartString, actualString);
1432
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1443
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1454
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1465
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1477
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1490
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1503
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1516
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1532
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1543
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1554
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1565
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1577
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1590
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1603
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1616
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1623
throw
StartsWithException
.ForStringNotFound(expectedStartString.ToString(), actualString.ToString());