1 write to SetCookie
Microsoft.AspNetCore.Identity.InMemory.Test (1)
FunctionalTest.cs (1)
446
transaction.
SetCookie
= transaction.Response.Headers.GetValues("Set-Cookie").FirstOrDefault();
30 references to SetCookie
Microsoft.AspNetCore.Identity.InMemory.Test (30)
FunctionalTest.cs (30)
43
Assert.Null(transaction1.
SetCookie
);
53
Assert.Null(transaction1.
SetCookie
);
57
Assert.NotNull(transaction2.
SetCookie
);
58
Assert.DoesNotContain("; expires=", transaction2.
SetCookie
);
63
Assert.Null(transaction3.
SetCookie
);
88
Assert.Null(transaction1.
SetCookie
);
92
Assert.NotNull(transaction2.
SetCookie
);
93
Assert.DoesNotContain("; expires=", transaction2.
SetCookie
);
97
Assert.Null(transaction3.
SetCookie
);
103
Assert.Null(transaction4.
SetCookie
);
109
Assert.Null(transaction5.
SetCookie
);
127
Assert.Null(transaction1.
SetCookie
);
131
Assert.NotNull(transaction2.
SetCookie
);
134
Assert.Contains("; expires=", transaction2.
SetCookie
);
138
Assert.DoesNotContain("; expires=", transaction2.
SetCookie
);
143
Assert.Null(transaction3.
SetCookie
);
149
Assert.Null(transaction4.
SetCookie
);
155
Assert.NotNull(transaction5.
SetCookie
);
186
Assert.Null(transaction1.
SetCookie
);
190
Assert.NotNull(transaction2.
SetCookie
);
191
Assert.DoesNotContain("; expires=", transaction2.
SetCookie
);
195
Assert.Null(transaction3.
SetCookie
);
201
Assert.Null(transaction4.
SetCookie
);
207
Assert.NotNull(transaction5.
SetCookie
);
226
Assert.Null(transaction1.
SetCookie
);
231
var setCookie = transaction2.
SetCookie
;
255
Assert.Null(transaction1.
SetCookie
);
260
var setCookie = transaction2.
SetCookie
;
448
if (!string.IsNullOrEmpty(transaction.
SetCookie
))
450
transaction.CookieNameValue = transaction.
SetCookie
.Split(new[] { ';' }, 2).First();