21 references to Contains
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (2)
Logging\HttpLoggingServiceExtensionsTests.cs (2)
51
Assert.
Contains
("/path0toexclude", options.ExcludePathStartsWith);
52
Assert.
Contains
("/path1toexclude", options.ExcludePathStartsWith);
Microsoft.AspNetCore.OpenApi.Tests (12)
Services\CreateSchemaReferenceIdTests.cs (1)
42
Assert.
Contains
(schema.Discriminator.PropertyName, schema.Required);
Services\OpenApiDocumentService\OpenApiDocumentServiceTests.RequestBody.cs (8)
79
Assert.
Contains
("formFile", schema.Required);
156
Assert.
Contains
("formFile", schema.Required);
422
Assert.
Contains
("id", item.Schema.Required);
423
Assert.
Contains
("title", item.Schema.Required);
424
Assert.
Contains
("completed", item.Schema.Required);
425
Assert.
Contains
("createdAt", item.Schema.Required);
479
Assert.
Contains
("id", item.Schema.Required);
480
Assert.
Contains
("date", item.Schema.Required);
Services\OpenApiSchemaService\OpenApiSchemaService.PolymorphicSchemas.cs (3)
29
Assert.
Contains
(schema.Discriminator.PropertyName, schema.Required);
66
Assert.
Contains
(schema.Discriminator.PropertyName, schema.Required);
111
Assert.
Contains
(schema.Discriminator.PropertyName, schema.Required);
Microsoft.DotNet.XUnitAssert.Tests (2)
SetAssertsTests.cs (2)
20
Assert.
Contains
("FORTY-two", (ISet<string>)set);
50
assertFailure(() => Assert.
Contains
("FORTY-two", (ISet<string>)set));
xunit.assert (5)
CollectionAsserts.cs (1)
248
Contains
(expected, set);
SetAsserts.cs (4)
88
Contains
(expected, (ISet<T>)set);
100
Contains
(expected, (ISet<T>)set);
113
Contains
(expected, (ISet<T>)set);
125
Contains
(expected, (ISet<T>)set);