1 instantiation of StartsWithException
xunit.assert (1)
Sdk\Exceptions\StartsWithException.cs (1)
40
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)
26
/// Creates an instance of the <see cref="
StartsWithException
"/> class to be thrown
32
public static
StartsWithException
ForStringNotFound(
StringAsserts.cs (18)
1414
throw
StartsWithException
.ForStringNotFound(expectedStartString, actualString);
1424
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1435
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1446
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1457
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1469
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1482
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1495
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1508
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1524
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1535
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1546
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1557
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1569
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1582
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1595
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1608
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1615
throw
StartsWithException
.ForStringNotFound(expectedStartString.ToString(), actualString.ToString());