go/src/net/http/cookiejar/jar_test.go

var tNow

type testPSL

func (testPSL) String() string {}

func (testPSL) PublicSuffix(d string) string {}

// newTestJar creates an empty Jar with testPSL as the public suffix list.
func newTestJar() *Jar {}

var hasDotSuffixTests

func TestHasDotSuffix(t *testing.T) {}

var canonicalHostTests

func TestCanonicalHost(t *testing.T) {}

var hasPortTests

func TestHasPort(t *testing.T) {}

var jarKeyTests

func TestJarKey(t *testing.T) {}

var jarKeyNilPSLTests

func TestJarKeyNilPSL(t *testing.T) {}

var isIPTests

func TestIsIP(t *testing.T) {}

var defaultPathTests

func TestDefaultPath(t *testing.T) {}

var domainAndTypeTests

func TestDomainAndType(t *testing.T) {}

// expiresIn creates an expires attribute delta seconds from tNow.
func expiresIn(delta int) string {}

// mustParseURL parses s to a URL and panics on error.
func mustParseURL(s string) *url.URL {}

type jarTest

type query

// run runs the jarTest.
func (test jarTest) run(t *testing.T, jar *Jar) {}

var basicsTests

func TestBasics(t *testing.T) {}

var updateAndDeleteTests

func TestUpdateAndDelete(t *testing.T) {}

func TestExpiration(t *testing.T) {}

var chromiumBasicsTests

func TestChromiumBasics(t *testing.T) {}

var chromiumDomainTests

func TestChromiumDomain(t *testing.T) {}

var chromiumDeletionTests

func TestChromiumDeletion(t *testing.T) {}

var domainHandlingTests

func TestDomainHandling(t *testing.T) {}

func TestIssue19384(t *testing.T) {}