3 instantiations of NotEqualException
xunit.assert (3)
Sdk\Exceptions\NotEqualException.cs (3)
90
return new
NotEqualException
("Assert.NotEqual() Failure: " + error.Message);
105
return new
NotEqualException
(message, error);
155
return new
NotEqualException
(
114 references to NotEqualException
Microsoft.DotNet.XUnitAssert.Tests (89)
AsyncCollectionAssertsTests.cs (7)
1094
Assert.IsType<
NotEqualException
>(ex);
1143
Assert.IsType<
NotEqualException
>(ex);
1193
Assert.IsType<
NotEqualException
>(ex);
1234
Assert.IsType<
NotEqualException
>(ex);
1276
Assert.IsType<
NotEqualException
>(ex);
1334
Assert.IsType<
NotEqualException
>(ex);
1361
Assert.IsType<
NotEqualException
>(ex);
CollectionAssertsTests.cs (17)
1655
Assert.IsType<
NotEqualException
>(ex);
1692
Assert.IsType<
NotEqualException
>(ex);
1708
Assert.IsType<
NotEqualException
>(ex);
1743
Assert.IsType<
NotEqualException
>(ex);
1781
Assert.IsType<
NotEqualException
>(ex);
1809
Assert.IsType<
NotEqualException
>(ex);
1845
Assert.IsType<
NotEqualException
>(ex);
1891
Assert.IsType<
NotEqualException
>(ex);
1911
Assert.IsType<
NotEqualException
>(ex);
1934
Assert.IsType<
NotEqualException
>(ex);
1951
Assert.IsType<
NotEqualException
>(ex);
2020
Assert.IsType<
NotEqualException
>(ex);
2059
Assert.IsType<
NotEqualException
>(ex);
2117
Assert.IsType<
NotEqualException
>(ex);
2170
Assert.IsType<
NotEqualException
>(ex);
2192
Assert.IsType<
NotEqualException
>(ex);
2213
Assert.IsType<
NotEqualException
>(ex);
EqualityAssertsTests.cs (65)
2329
Assert.IsType<
NotEqualException
>(ex);
2358
Assert.IsType<
NotEqualException
>(ex);
2392
Assert.IsType<
NotEqualException
>(ex);
2415
Assert.IsType<
NotEqualException
>(ex);
2438
Assert.IsType<
NotEqualException
>(ex);
2470
Assert.IsType<
NotEqualException
>(ex);
2490
Assert.IsType<
NotEqualException
>(ex);
2511
Assert.IsType<
NotEqualException
>(ex);
2526
Assert.IsType<
NotEqualException
>(ex);
2547
Assert.IsType<
NotEqualException
>(ex);
2576
Assert.IsType<
NotEqualException
>(ex);
2611
Assert.IsType<
NotEqualException
>(ex);
2642
Assert.IsType<
NotEqualException
>(ex);
2669
Assert.IsType<
NotEqualException
>(ex);
2695
Assert.IsType<
NotEqualException
>(ex);
2721
Assert.IsType<
NotEqualException
>(ex);
2749
Assert.IsType<
NotEqualException
>(ex);
2786
Assert.IsType<
NotEqualException
>(ex);
2816
Assert.IsType<
NotEqualException
>(ex);
2842
Assert.IsType<
NotEqualException
>(ex);
2871
Assert.IsType<
NotEqualException
>(ex);
2900
Assert.IsType<
NotEqualException
>(ex);
2929
Assert.IsType<
NotEqualException
>(ex);
2955
Assert.IsType<
NotEqualException
>(ex);
2981
Assert.IsType<
NotEqualException
>(ex);
3011
Assert.IsType<
NotEqualException
>(ex);
3041
Assert.IsType<
NotEqualException
>(ex);
3076
Assert.IsType<
NotEqualException
>(ex);
3111
Assert.IsType<
NotEqualException
>(ex);
3160
Assert.IsType<
NotEqualException
>(ex);
3191
Assert.IsType<
NotEqualException
>(ex);
3219
Assert.IsType<
NotEqualException
>(ex);
3250
Assert.IsType<
NotEqualException
>(ex);
3280
Assert.IsType<
NotEqualException
>(ex);
3309
Assert.IsType<
NotEqualException
>(ex);
3360
Assert.IsType<
NotEqualException
>(ex);
3395
Assert.IsType<
NotEqualException
>(ex);
3426
Assert.IsType<
NotEqualException
>(ex);
3455
Assert.IsType<
NotEqualException
>(ex);
3481
Assert.IsType<
NotEqualException
>(ex);
3509
Assert.IsType<
NotEqualException
>(ex);
3547
Assert.IsType<
NotEqualException
>(ex);
3567
Assert.IsType<
NotEqualException
>(ex);
3606
Assert.IsType<
NotEqualException
>(ex);
3658
Assert.IsType<
NotEqualException
>(ex);
3697
Assert.IsType<
NotEqualException
>(ex);
3740
Assert.IsType<
NotEqualException
>(ex);
3755
Assert.IsType<
NotEqualException
>(ex);
3780
Assert.IsType<
NotEqualException
>(ex);
3801
Assert.IsType<
NotEqualException
>(ex);
3829
Assert.IsType<
NotEqualException
>(ex);
3860
Assert.IsType<
NotEqualException
>(ex);
3890
Assert.IsType<
NotEqualException
>(ex);
3927
Assert.IsType<
NotEqualException
>(ex);
3958
Assert.IsType<
NotEqualException
>(ex);
3987
Assert.IsType<
NotEqualException
>(ex);
4014
Assert.IsType<
NotEqualException
>(ex);
4051
Assert.IsType<
NotEqualException
>(ex);
4075
Assert.IsType<
NotEqualException
>(ex);
4099
Assert.IsType<
NotEqualException
>(ex);
4135
Assert.IsType<
NotEqualException
>(ex);
4162
Assert.IsType<
NotEqualException
>(ex);
4199
Assert.IsType<
NotEqualException
>(ex);
4223
Assert.IsType<
NotEqualException
>(ex);
4247
Assert.IsType<
NotEqualException
>(ex);
xunit.assert (25)
AsyncCollectionAsserts.cs (4)
336
/// <exception cref="
NotEqualException
">Thrown when the objects are equal</exception>
353
/// <exception cref="
NotEqualException
">Thrown when the objects are equal</exception>
371
/// <exception cref="
NotEqualException
">Thrown when the objects are equal</exception>
390
/// <exception cref="
NotEqualException
">Thrown when the objects are equal</exception>
CollectionAsserts.cs (2)
559
/// <exception cref="
NotEqualException
">Thrown when the objects are equal</exception>
577
/// <exception cref="
NotEqualException
">Thrown when the objects are equal</exception>
EqualityAsserts.cs (11)
602
/// <exception cref="
NotEqualException
">Thrown when the objects are equal</exception>
700
throw
NotEqualException
.ForEqualCollectionsWithError(null, formattedExpected, null, formattedActual, null, exception, "Strings");
702
throw
NotEqualException
.ForEqualValuesWithError(formattedExpected, formattedActual, exception);
805
throw
NotEqualException
.ForEqualCollectionsWithError(mismatchedIndex, formattedExpected, expectedPointer, formattedActual, actualPointer, exception, collectionDisplay);
831
throw
NotEqualException
.ForEqualValues(
857
throw
NotEqualException
.ForEqualValues(
880
throw
NotEqualException
.ForEqualValues(
903
throw
NotEqualException
.ForEqualValues(
929
throw
NotEqualException
.ForEqualValues(
952
throw
NotEqualException
.ForEqualValues(
975
throw
NotEqualException
.ForEqualValues(
Sdk\Exceptions\NotEqualException.cs (8)
41
/// Creates a new instance of <see cref="
NotEqualException
"/> to be thrown when two collections
47
public static
NotEqualException
ForEqualCollections(
58
/// Creates a new instance of <see cref="
NotEqualException
"/> to be thrown when two collections
71
public static
NotEqualException
ForEqualCollectionsWithError(
109
/// Creates a new instance of <see cref="
NotEqualException
"/> to be thrown when two values
117
public static
NotEqualException
ForEqualValues(
128
/// Creates a new instance of <see cref="
NotEqualException
"/> to be thrown when two values
139
public static
NotEqualException
ForEqualValuesWithError(