15 references to CookieName
Microsoft.AspNetCore.Mvc.FunctionalTests (5)
TempDataInCookiesTest.cs (5)
70
setCookieValues = setCookieValues.Where(cookie => cookie.Contains(CookieTempDataProvider.
CookieName
));
98
.FirstOrDefault(setCookieHeader => setCookieHeader.Name == CookieTempDataProvider.
CookieName
);
131
.FirstOrDefault(setCookieHeaderValue => setCookieHeaderValue.Name == CookieTempDataProvider.
CookieName
);
154
.FirstOrDefault(setCookieHeaderValue => setCookieHeaderValue.Name == CookieTempDataProvider.
CookieName
);
184
.FirstOrDefault(setCookieHeaderValue => setCookieHeaderValue.Name == CookieTempDataProvider.
CookieName
);
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
CookieTempDataProviderOptions.cs (1)
16
Name = CookieTempDataProvider.
CookieName
,
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (9)
CookieTempDataProviderTest.cs (9)
82
context.Request.Headers.Cookie = $"{CookieTempDataProvider.
CookieName
}={base64AndUrlEncodedDataInCookie}";
91
Assert.Equal(CookieTempDataProvider.
CookieName
, setCookieHeader.Name.ToString());
104
httpContext.Request.Headers.Cookie = $"{CookieTempDataProvider.
CookieName
}={base64AndUrlEncodedDataInCookie}";
134
var cookieInfo = responseCookies[CookieTempDataProvider.
CookieName
];
170
var cookieInfo = responseCookies[CookieTempDataProvider.
CookieName
];
205
var cookieInfo = responseCookies[CookieTempDataProvider.
CookieName
];
254
var cookieInfo = responseCookies[CookieTempDataProvider.
CookieName
];
274
var requestCookies = $"{CookieTempDataProvider.
CookieName
}={base64AndUrlEncodedData}";
287
Assert.Equal(CookieTempDataProvider.
CookieName
, cookie.Name.AsSpan());