1 write to SetCookie
Microsoft.AspNetCore.Authentication.Test (1)
CookieTests.cs (1)
1917
transaction.
SetCookie
= transaction.Response.Headers.GetValues("Set-Cookie").SingleOrDefault();
64 references to SetCookie
Microsoft.AspNetCore.Authentication.Test (64)
CookieTests.cs (64)
138
var setCookie = transaction.
SetCookie
;
271
var setCookie = transaction.
SetCookie
;
343
var setCookie = transaction.
SetCookie
;
373
var setCookie1 = transaction1.
SetCookie
;
395
var setCookie2 = transaction2.
SetCookie
;
459
Assert.Null(transaction2.
SetCookie
);
461
Assert.Null(transaction3.
SetCookie
);
463
Assert.Null(transaction4.
SetCookie
);
493
Assert.Null(transaction2.
SetCookie
);
495
Assert.Null(transaction3.
SetCookie
);
497
Assert.Null(transaction4.
SetCookie
);
526
Assert.Null(transaction2.
SetCookie
);
555
Assert.Contains(".AspNetCore.Cookies=; expires=", transaction2.
SetCookie
);
584
Assert.NotNull(transaction2.
SetCookie
);
620
Assert.NotNull(transaction2.
SetCookie
);
626
Assert.NotNull(transaction3.
SetCookie
);
632
Assert.Null(transaction4.
SetCookie
);
638
Assert.Null(transaction5.
SetCookie
);
665
Assert.NotNull(transaction2.
SetCookie
);
707
Assert.NotNull(transaction4.
SetCookie
);
741
Assert.NotNull(transaction2.
SetCookie
);
747
Assert.NotNull(transaction3.
SetCookie
);
753
Assert.NotNull(transaction4.
SetCookie
);
759
Assert.Null(transaction5.
SetCookie
);
797
Assert.NotNull(transaction2.
SetCookie
);
803
Assert.NotNull(transaction3.
SetCookie
);
809
Assert.NotNull(transaction4.
SetCookie
);
815
Assert.Null(transaction5.
SetCookie
);
856
Assert.NotNull(transaction2.
SetCookie
);
862
Assert.NotNull(transaction3.
SetCookie
);
868
Assert.NotNull(transaction4.
SetCookie
);
874
Assert.Null(transaction5.
SetCookie
);
902
Assert.NotNull(transaction2.
SetCookie
);
908
Assert.NotNull(transaction3.
SetCookie
);
914
Assert.Null(transaction4.
SetCookie
);
920
Assert.Null(transaction5.
SetCookie
);
954
Assert.NotNull(transaction2.
SetCookie
);
966
Assert.NotNull(transaction3.
SetCookie
);
972
Assert.NotNull(transaction4.
SetCookie
);
1001
Assert.Null(transaction2.
SetCookie
);
1007
Assert.Null(transaction3.
SetCookie
);
1013
Assert.Null(transaction4.
SetCookie
);
1031
Assert.Null(transaction2.
SetCookie
);
1037
Assert.Null(transaction3.
SetCookie
);
1044
Assert.NotNull(transaction4.
SetCookie
);
1050
Assert.Null(transaction5.
SetCookie
);
1077
Assert.Null(transaction2.
SetCookie
);
1083
Assert.Null(transaction3.
SetCookie
);
1090
Assert.NotNull(transaction4.
SetCookie
);
1096
Assert.Null(transaction5.
SetCookie
);
1125
Assert.Null(transaction2.
SetCookie
);
1131
Assert.Null(transaction3.
SetCookie
);
1138
Assert.Null(transaction4.
SetCookie
);
1143
Assert.NotNull(transaction5.
SetCookie
);
1148
Assert.NotNull(transaction5.
SetCookie
);
1166
Assert.Contains("path=/base", transaction1.
SetCookie
);
1514
Assert.NotEmpty(transaction.
SetCookie
);
1537
Assert.NotEmpty(transaction.
SetCookie
);
1559
Assert.NotEmpty(transaction.
SetCookie
);
1582
Assert.NotEmpty(transaction.
SetCookie
);
1605
Assert.NotEmpty(transaction.
SetCookie
);
1659
Assert.NotNull(transaction.
SetCookie
);
1919
if (!string.IsNullOrEmpty(transaction.
SetCookie
))
1921
transaction.CookieNameValue = transaction.
SetCookie
.Split(new[] { ';' }, 2).First();