7 instantiations of DoesNotContainException
xunit.assert (7)
Sdk\Exceptions\DoesNotContainException.cs (7)
54
return new
DoesNotContainException
(message);
81
return new
DoesNotContainException
(message);
93
new
DoesNotContainException
(
113
new
DoesNotContainException
(
148
return new
DoesNotContainException
(message);
175
return new
DoesNotContainException
(message);
196
return new
DoesNotContainException
(
97 references to DoesNotContainException
Microsoft.DotNet.XUnitAssert.Tests (33)
AsyncCollectionAssertsTests.cs (2)
485
Assert.IsType<
DoesNotContainException
>(ex);
555
Assert.IsType<
DoesNotContainException
>(ex);
CollectionAssertsTests.cs (4)
519
Assert.IsType<
DoesNotContainException
>(ex);
552
Assert.IsType<
DoesNotContainException
>(ex);
570
Assert.IsType<
DoesNotContainException
>(ex);
633
Assert.IsType<
DoesNotContainException
>(ex);
DictionaryAssertsTests.cs (1)
97
Assert.IsType<
DoesNotContainException
>(ex);
MemoryAssertsTests.cs (10)
225
Assert.IsType<
DoesNotContainException
>(ex);
240
Assert.IsType<
DoesNotContainException
>(ex);
255
Assert.IsType<
DoesNotContainException
>(ex);
270
Assert.IsType<
DoesNotContainException
>(ex);
297
Assert.IsType<
DoesNotContainException
>(ex);
312
Assert.IsType<
DoesNotContainException
>(ex);
327
Assert.IsType<
DoesNotContainException
>(ex);
369
Assert.IsType<
DoesNotContainException
>(ex);
384
Assert.IsType<
DoesNotContainException
>(ex);
407
Assert.IsType<
DoesNotContainException
>(ex);
SetAssertsTests.cs (1)
90
Assert.IsType<
DoesNotContainException
>(ex);
SpanAssertsTests.cs (10)
225
Assert.IsType<
DoesNotContainException
>(ex);
240
Assert.IsType<
DoesNotContainException
>(ex);
255
Assert.IsType<
DoesNotContainException
>(ex);
270
Assert.IsType<
DoesNotContainException
>(ex);
297
Assert.IsType<
DoesNotContainException
>(ex);
312
Assert.IsType<
DoesNotContainException
>(ex);
327
Assert.IsType<
DoesNotContainException
>(ex);
369
Assert.IsType<
DoesNotContainException
>(ex);
384
Assert.IsType<
DoesNotContainException
>(ex);
407
Assert.IsType<
DoesNotContainException
>(ex);
StringAssertsTests.cs (5)
188
Assert.IsType<
DoesNotContainException
>(ex);
224
Assert.IsType<
DoesNotContainException
>(ex);
254
Assert.IsType<
DoesNotContainException
>(ex);
284
Assert.IsType<
DoesNotContainException
>(ex);
314
Assert.IsType<
DoesNotContainException
>(ex);
xunit.assert (64)
AsyncCollectionAsserts.cs (3)
170
/// <exception cref="
DoesNotContainException
">Thrown when the object is present inside the collection</exception>
183
/// <exception cref="
DoesNotContainException
">Thrown when the object is present inside the collection</exception>
196
/// <exception cref="
DoesNotContainException
">Thrown when the object is present inside the collection</exception>
CollectionAsserts.cs (5)
348
/// <exception cref="
DoesNotContainException
">Thrown when the object is present inside the container</exception>
383
/// <exception cref="
DoesNotContainException
">Thrown when the object is present inside the collection</exception>
403
throw
DoesNotContainException
.ForCollectionItemFound(
422
/// <exception cref="
DoesNotContainException
">Thrown when the object is present inside the collection</exception>
441
throw
DoesNotContainException
.ForCollectionFilterMatched(
DictionaryAsserts.cs (8)
200
/// <exception cref="
DoesNotContainException
">Thrown when the object is present in the collection</exception>
218
throw
DoesNotContainException
.ForKeyFound(
231
/// <exception cref="
DoesNotContainException
">Thrown when the object is present in the collection</exception>
244
throw
DoesNotContainException
.ForKeyFound(
257
/// <exception cref="
DoesNotContainException
">Thrown when the object is present in the collection</exception>
273
/// <exception cref="
DoesNotContainException
">Thrown when the object is present in the collection</exception>
289
/// <exception cref="
DoesNotContainException
">Thrown when the object is present in the collection</exception>
306
/// <exception cref="
DoesNotContainException
">Thrown when the object is present in the collection</exception>
MemoryAsserts.cs (5)
113
/// <exception cref="
DoesNotContainException
">Thrown when the sub-Memory is present inside the Memory</exception>
130
/// <exception cref="
DoesNotContainException
">Thrown when the sub-Memory is present inside the Memory</exception>
147
/// <exception cref="
DoesNotContainException
">Thrown when the sub-Memory is present inside the Memory</exception>
164
/// <exception cref="
DoesNotContainException
">Thrown when the sub-Memory is present inside the Memory</exception>
187
throw
DoesNotContainException
.ForSubMemoryFound(formattedExpected, idx, failurePointerIndent, formattedActual);
Sdk\Exceptions\DoesNotContainException.cs (14)
34
/// Creates a new instance of the <see cref="
DoesNotContainException
"/> class to be thrown
40
public static
DoesNotContainException
ForCollectionFilterMatched(
58
/// Creates a new instance of the <see cref="
DoesNotContainException
"/> class to be thrown
65
public static
DoesNotContainException
ForCollectionItemFound(
85
/// Creates a new instance of the <see cref="
DoesNotContainException
"/> class to be thrown
90
public static
DoesNotContainException
ForKeyFound(
105
/// Creates a new instance of the <see cref="
DoesNotContainException
"/> class to be thrown
110
public static
DoesNotContainException
ForSetItemFound(
125
/// Creates a new instance of the <see cref="
DoesNotContainException
"/> class to be thrown
132
public static
DoesNotContainException
ForSubMemoryFound(
152
/// Creates a new instance of the <see cref="
DoesNotContainException
"/> class to be thrown
159
public static
DoesNotContainException
ForSubSpanFound(
179
/// Creates a new instance of the <see cref="
DoesNotContainException
"/> class to be thrown
185
public static
DoesNotContainException
ForSubStringFound(
SetAsserts.cs (4)
134
/// <exception cref="
DoesNotContainException
">Thrown when the object is present inside the set</exception>
142
throw
DoesNotContainException
.ForSetItemFound(
155
/// <exception cref="
DoesNotContainException
">Thrown when the object is present inside the collection</exception>
168
throw
DoesNotContainException
.ForSetItemFound(
SpanAsserts.cs (5)
111
/// <exception cref="
DoesNotContainException
">Thrown when the sub-span is present inside the span</exception>
128
/// <exception cref="
DoesNotContainException
">Thrown when the sub-span is present inside the span</exception>
145
/// <exception cref="
DoesNotContainException
">Thrown when the sub-span is present inside the span</exception>
162
/// <exception cref="
DoesNotContainException
">Thrown when the sub-span is present inside the span</exception>
180
throw
DoesNotContainException
.ForSubSpanFound(
StringAsserts.cs (20)
280
/// <exception cref="
DoesNotContainException
">Thrown when the sub-string is present inside the string</exception>
296
/// <exception cref="
DoesNotContainException
">Thrown when the sub-string is present inside the string</exception>
312
throw
DoesNotContainException
.ForSubStringFound(expectedSubstring, idx, actualString);
323
/// <exception cref="
DoesNotContainException
">Thrown when the sub-string is present inside the string</exception>
334
/// <exception cref="
DoesNotContainException
">Thrown when the sub-string is present inside the string</exception>
345
/// <exception cref="
DoesNotContainException
">Thrown when the sub-string is present inside the string</exception>
356
/// <exception cref="
DoesNotContainException
">Thrown when the sub-string is present inside the string</exception>
368
/// <exception cref="
DoesNotContainException
">Thrown when the sub-string is present inside the string</exception>
381
/// <exception cref="
DoesNotContainException
">Thrown when the sub-string is present inside the string</exception>
394
/// <exception cref="
DoesNotContainException
">Thrown when the sub-string is present inside the string</exception>
407
/// <exception cref="
DoesNotContainException
">Thrown when the sub-string is present inside the string</exception>
424
/// <exception cref="
DoesNotContainException
">Thrown when the sub-string is present inside the string</exception>
437
/// <exception cref="
DoesNotContainException
">Thrown when the sub-string is present inside the string</exception>
450
/// <exception cref="
DoesNotContainException
">Thrown when the sub-string is present inside the string</exception>
463
/// <exception cref="
DoesNotContainException
">Thrown when the sub-string is present inside the string</exception>
471
throw
DoesNotContainException
.ForSubStringFound(expectedSubstring.ToString(), idx, actualString.ToString());
479
/// <exception cref="
DoesNotContainException
">Thrown when the sub-string is present inside the string</exception>
490
/// <exception cref="
DoesNotContainException
">Thrown when the sub-string is present inside the string</exception>
501
/// <exception cref="
DoesNotContainException
">Thrown when the sub-string is present inside the string</exception>
512
/// <exception cref="
DoesNotContainException
">Thrown when the sub-string is present inside the string</exception>