1 instantiation of StartsWithException
xunit.assert (1)
Sdk\Exceptions\StartsWithException.cs (1)
43
new
StartsWithException
(
32 references to StartsWithException
Microsoft.DotNet.XUnitAssert.Tests (12)
Asserts\MemoryAssertsTests.cs (4)
849
Assert.IsType<
StartsWithException
>(ex);
871
Assert.IsType<
StartsWithException
>(ex);
902
Assert.IsType<
StartsWithException
>(ex);
925
Assert.IsType<
StartsWithException
>(ex);
Asserts\SpanAssertsTests.cs (4)
857
Assert.IsType<
StartsWithException
>(ex);
879
Assert.IsType<
StartsWithException
>(ex);
910
Assert.IsType<
StartsWithException
>(ex);
933
Assert.IsType<
StartsWithException
>(ex);
Asserts\StringAssertsTests.cs (4)
1062
Assert.IsType<
StartsWithException
>(ex);
1089
Assert.IsType<
StartsWithException
>(ex);
1128
Assert.IsType<
StartsWithException
>(ex);
1147
Assert.IsType<
StartsWithException
>(ex);
xunit.assert (20)
Sdk\Exceptions\StartsWithException.cs (2)
29
/// Creates an instance of the <see cref="
StartsWithException
"/> class to be thrown
35
public static
StartsWithException
ForStringNotFound(
StringAsserts.cs (18)
1432
throw
StartsWithException
.ForStringNotFound(expectedStartString, actualString);
1440
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1451
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1462
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1473
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1485
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1498
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1511
/// <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>
1540
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1551
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1562
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1573
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1585
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1598
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1611
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1624
/// <exception cref="
StartsWithException
">Thrown when the string does not start with the expected sub-string</exception>
1631
throw
StartsWithException
.ForStringNotFound(expectedStartString.ToString(), actualString.ToString());