241 references to DoesNotContain
Aspire.Dashboard.Tests (1)
Aspire.Hosting.Azure.Tests (1)
Aspire.Hosting.Tests (1)
Aspire.Microsoft.Data.SqlClient.Tests (2)
Aspire.Microsoft.EntityFrameworkCore.SqlServer.Tests (2)
Aspire.Milvus.Client.Tests (1)
Aspire.MySqlConnector.Tests (2)
Aspire.NATS.Net.Tests (2)
Aspire.Npgsql.EntityFrameworkCore.PostgreSQL.Tests (2)
Aspire.Npgsql.Tests (2)
Aspire.Oracle.EntityFrameworkCore.Tests (2)
Aspire.Pomelo.EntityFrameworkCore.MySql.Tests (2)
Aspire.StackExchange.Redis.Tests (2)
AuthSamples.FunctionalTests (10)
ConfigurationSchemaGenerator.Tests (1)
Diagnostics.EFCore.FunctionalTests (1)
Diagnostics.FunctionalTests (1)
IIS.FunctionalTests (2)
IIS.LongTests (3)
IIS.NewHandler.FunctionalTests (3)
IIS.NewShim.FunctionalTests (3)
IISExpress.FunctionalTests (5)
Microsoft.AspNetCore.Authentication.Core.Test (2)
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (3)
Microsoft.AspNetCore.Authentication.Test (25)
CookieTests.cs (11)
143Assert.DoesNotContain("; expires=", setCookie);
144Assert.DoesNotContain("; domain=", setCookie);
145Assert.DoesNotContain("; secure", setCookie);
276Assert.DoesNotContain("; expires=", setCookie);
277Assert.DoesNotContain("; domain=", setCookie);
278Assert.DoesNotContain("; secure", setCookie);
351Assert.DoesNotContain("; secure", setCookie);
400Assert.DoesNotContain(" domain=", setCookie2);
401Assert.DoesNotContain(" secure", setCookie2);
402Assert.DoesNotContain(" httponly", setCookie2);
403Assert.DoesNotContain(" extension", setCookie2);
OpenIdConnect\OpenIdConnectChallengeTests.cs (12)
79Assert.DoesNotContain("code_challenge=", res.Headers.Location.Query);
80Assert.DoesNotContain("code_challenge_method=", res.Headers.Location.Query);
107Assert.DoesNotContain("code_challenge=", res.Headers.Location.Query);
108Assert.DoesNotContain("code_challenge_method=", res.Headers.Location.Query);
126Assert.DoesNotContain(OpenIdConnectParameterNames.SkuTelemetry, res.Headers.Location.Query);
127Assert.DoesNotContain(OpenIdConnectParameterNames.VersionTelemetry, res.Headers.Location.Query);
727Assert.DoesNotContain("redirect_uri", res.Headers.Location.Query);
728Assert.DoesNotContain("scope", res.Headers.Location.Query);
729Assert.DoesNotContain("client_secret", res.Headers.Location.Query);
813Assert.DoesNotContain("request_uri=my_reference_value", res.Headers.Location.Query);
886Assert.DoesNotContain("scope", res.Headers.Location.Query);
921Assert.DoesNotContain("prompt", res.Headers.Location.Query);
Microsoft.AspNetCore.Components.Endpoints.Tests (2)
Microsoft.AspNetCore.Diagnostics.HealthChecks.Tests (1)
Microsoft.AspNetCore.Diagnostics.Tests (1)
Microsoft.AspNetCore.Http.Tests (1)
Microsoft.AspNetCore.HttpLogging.Tests (2)
Microsoft.AspNetCore.Identity.InMemory.Test (4)
Microsoft.AspNetCore.Mvc.Core.Test (4)
Microsoft.AspNetCore.Mvc.FunctionalTests (2)
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (1)
Microsoft.AspNetCore.Session.Tests (1)
Microsoft.AspNetCore.Shared.Tests (3)
Microsoft.AspNetCore.Tests (1)
Microsoft.Build.Engine.OM.UnitTests (4)
Microsoft.Build.Engine.UnitTests (12)
Microsoft.Build.Tasks.UnitTests (11)
Microsoft.Build.Utilities.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (19)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (3)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (2)
Microsoft.DotNet.Build.Tasks.Workloads.Tests (11)
Microsoft.DotNet.Open.Api.Tools.Tests (7)
Microsoft.DotNet.XUnitAssert.Tests (7)
StringAssertsTests.cs (7)
152 Assert.DoesNotContain("hey", "Hello, world!");
168 Assert.DoesNotContain("WORLD", "Hello, world!");
198 verify(() => Assert.DoesNotContain("world", "Hello, world!"));
214 Assert.DoesNotContain("foo", (string?)null);
234 verify(() => Assert.DoesNotContain("world", "Hello, world from a very long string that will end up being truncated"));
264 verify(() => Assert.DoesNotContain("world", "This is a relatively long string that has 'Hello, world' placed in the middle so that we can dual trunaction"));
294 verify(() => Assert.DoesNotContain("world", "This is a relatively long string that will from the front truncated, just to say 'Hello, world'"));
Microsoft.Extensions.ApiDescription.Client.Tests (7)
Microsoft.Extensions.Compliance.Redaction.Tests (1)
Microsoft.Extensions.SecretManager.Tools.Tests (2)
Microsoft.Extensions.ServiceDiscovery.Tests (1)
Microsoft.Extensions.Telemetry.Tests (4)
Microsoft.Gen.Logging.Generated.Tests (10)
SensitiveRecordTests.cs (10)
20Assert.DoesNotContain(SensitiveRecordExtensions.Sensitive, logRecord.Message);
22Assert.All(logRecord.StructuredState, x => Assert.DoesNotContain(SensitiveRecordExtensions.Sensitive, x.Value));
32Assert.DoesNotContain(SensitiveRecordExtensions.Sensitive, logRecord.Message);
34Assert.All(logRecord.StructuredState, x => Assert.DoesNotContain(SensitiveRecordExtensions.Sensitive, x.Value));
49Assert.DoesNotContain(SensitiveRecordExtensions.Sensitive, logRecord.Message);
51Assert.All(logRecord.StructuredState, x => Assert.DoesNotContain(SensitiveRecordExtensions.Sensitive, x.Value));
66Assert.DoesNotContain(SensitiveRecordExtensions.Sensitive, logRecord.Message);
68Assert.All(logRecord.StructuredState, x => Assert.DoesNotContain(SensitiveRecordExtensions.Sensitive, x.Value));
83Assert.DoesNotContain(SensitiveRecordExtensions.Sensitive, logRecord.Message);
85Assert.All(logRecord.StructuredState, x => Assert.DoesNotContain(SensitiveRecordExtensions.Sensitive, x.Value));
ServerComparison.FunctionalTests (1)
System.Windows.Forms.Tests (11)
Templates.Blazor.Tests (1)
Templates.Blazor.WebAssembly.Auth.Tests (1)
Templates.Blazor.WebAssembly.Tests (1)
Templates.Mvc.Tests (17)
Templates.Tests (1)