156 references to Equal
Microsoft.AspNetCore.Authentication.Test (3)
Microsoft.AspNetCore.CookiePolicy.Test (36)
CookieConsentTests.cs (23)
220Assert.Equal(".AspNet.Consent", consentCookie.Name.AsSpan());
221Assert.Equal("yes", consentCookie.Value.AsSpan());
227Assert.Equal("Test", testCookie.Name.AsSpan());
228Assert.Equal("Value", testCookie.Value.AsSpan());
242Assert.Equal(".AspNet.Consent", context.CookieName.AsSpan());
243Assert.Equal("yes", context.CookieValue.AsSpan());
270Assert.Equal(".AspNet.Consent1", consentCookie.Name.AsSpan());
271Assert.Equal("yes1", consentCookie.Value.AsSpan());
401Assert.Equal("Test", testCookie.Name.AsSpan());
402Assert.Equal("Value1", testCookie.Value.AsSpan());
406Assert.Equal(".AspNet.Consent", consentCookie.Name.AsSpan());
407Assert.Equal("", consentCookie.Value.AsSpan());
421Assert.Equal(".AspNet.Consent", context.CookieName.AsSpan());
448Assert.Equal(".AspNet.Consent1", consentCookie.Name.AsSpan());
449Assert.Equal("", consentCookie.Value.AsSpan());
513Assert.Equal("Test", testCookie.Name.AsSpan());
514Assert.Equal("", testCookie.Value.AsSpan());
577Assert.Equal(".AspNet.Consent", consentCookie.Name.AsSpan());
578Assert.Equal("yes", consentCookie.Value.AsSpan());
630Assert.Equal(".AspNet.Consent1", consentCookie.Name.AsSpan());
631Assert.Equal("yes1", consentCookie.Value.AsSpan());
675Assert.Equal(".AspNet.Consent", consentCookie.Name.AsSpan());
676Assert.Equal("true", consentCookie.Value.AsSpan());
CookiePolicyTests.cs (13)
61Assert.Equal("A=A; path=/; secure", transaction.SetCookie[0].AsSpan());
62Assert.Equal("B=B; path=/; secure", transaction.SetCookie[1].AsSpan());
63Assert.Equal("C=C; path=/; secure", transaction.SetCookie[2].AsSpan());
64Assert.Equal("D=D; path=/; secure", transaction.SetCookie[3].AsSpan());
401Assert.Equal("TestCookie", cookie.Name.AsSpan());
404Assert.Equal("/", cookie.Path.AsSpan());
453Assert.Equal("TestCookie", cookie.Name.AsSpan());
454Assert.Equal("chunks-2", cookie.Value.AsSpan());
457Assert.Equal("/", cookie.Path.AsSpan());
461Assert.Equal("TestCookieC1", cookie.Name.AsSpan());
464Assert.Equal("/", cookie.Path.AsSpan());
468Assert.Equal("TestCookieC2", cookie.Name.AsSpan());
471Assert.Equal("/", cookie.Path.AsSpan());
Microsoft.AspNetCore.Http.Abstractions.Tests (2)
Microsoft.AspNetCore.Mvc.FunctionalTests (7)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
Microsoft.DotNet.XUnitAssert.Tests (2)
Microsoft.Net.Http.Headers.Tests (104)