21 references to Contains
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (2)
Logging\HttpLoggingServiceExtensionsTests.cs (2)
51Assert.Contains("/path0toexclude", options.ExcludePathStartsWith); 52Assert.Contains("/path1toexclude", options.ExcludePathStartsWith);
Microsoft.AspNetCore.OpenApi.Tests (12)
Services\CreateSchemaReferenceIdTests.cs (1)
42Assert.Contains(schema.Discriminator.PropertyName, schema.Required);
Services\OpenApiDocumentService\OpenApiDocumentServiceTests.RequestBody.cs (8)
79Assert.Contains("formFile", schema.Required); 156Assert.Contains("formFile", schema.Required); 422Assert.Contains("id", item.Schema.Required); 423Assert.Contains("title", item.Schema.Required); 424Assert.Contains("completed", item.Schema.Required); 425Assert.Contains("createdAt", item.Schema.Required); 479Assert.Contains("id", item.Schema.Required); 480Assert.Contains("date", item.Schema.Required);
Services\OpenApiSchemaService\OpenApiSchemaService.PolymorphicSchemas.cs (3)
29Assert.Contains(schema.Discriminator.PropertyName, schema.Required); 66Assert.Contains(schema.Discriminator.PropertyName, schema.Required); 111Assert.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);