Home | History | Annotate | Download | only in cookiejar

Lines Matching refs:query

365 //   3. For each query in tests: Check that Cookies with toURL yields the
367 // (Query n done at tNow + (n+2)*1001 ms.)
373 queries []query // Queries to test the Jar.Cookies method
376 // query contains one test of the cookies returned from Jar.Cookies.
377 type query struct {
418 for i, query := range test.queries {
421 for _, c := range jar.cookies(mustParseURL(query.toURL), now) {
424 if got := strings.Join(s, " "); got != query.want {
425 t.Errorf("Test %q #%d\ngot %q\nwant %q", test.description, i, got, query.want)
438 []query{
458 []query{
472 []query{
488 []query{
504 []query{
520 []query{
535 []query{
554 []query{
573 []query{
586 []query{{"http://www.bbc.co.uk", "a=1"}},
593 []query{{"http://192.168.0.10", "a=1"}},
600 []query{
610 []query{
637 []query{
651 []query{
663 []query{{"http://www.host.test", "a=w b=xx c=y d=zz"}},
674 []query{{"http://www.host.test", ""}},
685 []query{{"http://www.host.test/foo", "A=2 A=4 A=1 A=3"}},
696 []query{
706 []query{
716 []query{
726 []query{
736 []query{
748 []query{
760 []query{
788 []query{
817 []query{
830 []query{
848 []query{
874 []query{{"http://foo.bar.com", ""}},
881 []query{{"http://foo.bar.com", ""}},
888 []query{{"http://www.filefront.com", "a=1"}},
895 []query{
908 []query{{"http://www.google.com", "a=1 b=2"}},
915 []query{{"http://1.2.3.4/foo", "a=1"}},
924 []query{{"http://1.2.3.4/foo", ""}},
931 []query{{"http://1.2.3.4/foo", ""}},
938 []query{
950 []query{{"http://bar.foo", ""}},
959 []query{{"http://google.com", ""}},
968 []query{
981 []query{{"http://www.google.com", "a=1"}},
988 []query{
1014 []query{{"http://www.google.izzle", "A=B"}},
1021 []query{{"http://www.google.izzle", "A=B C=D"}},
1028 []query{{"http://foo.www.google.izzle", "C=D"}},
1035 []query{{"http://www.google.izzle", "A=B C=D E=F"}},
1042 []query{{"http://www.google.izzle", "A=B C=D E=F G=H"}},
1049 []query{{"http://bar.www.google.izzle", "C=D E=F G=H"}},
1056 []query{{"http://www.google.izzle", "A=B C=D E=F G=H"}},
1075 []query{{"http://www.google.com", "a=1"}},
1082 []query{{"http://www.google.com", ""}},
1089 []query{{"http://www.google.com", "b=2"}},
1096 []query{{"http://www.google.com", ""}},
1103 []query{{"http://www.google.com", "c=3"}},
1110 []query{{"http://www.google.com", ""}},
1117 []query{{"http://www.google.com", "d=4"}},
1124 []query{{"http://www.google.com", ""}},
1143 []query{
1157 []query{
1171 []query{
1185 []query{
1203 []query{
1221 []query{
1239 []query{
1257 []query{
1268 []query{
1279 []query{
1292 []query{