go/src/net/url/url_test.go

type URLTest

var urltests

// more useful string for debugging than fmt's struct printer
func ufmt(u *URL) string {}

func BenchmarkString(b *testing.B) {}

func TestParse(t *testing.T) {}

const pathThatLooksSchemeRelative

var parseRequestURLTests

func TestParseRequestURI(t *testing.T) {}

var stringURLTests

func TestURLString(t *testing.T) {}

func TestURLRedacted(t *testing.T) {}

type EscapeTest

var unescapeTests

func TestUnescape(t *testing.T) {}

var queryEscapeTests

func TestQueryEscape(t *testing.T) {}

var pathEscapeTests

func TestPathEscape(t *testing.T) {}

type EncodeQueryTest

var encodeQueryTests

func TestEncodeQuery(t *testing.T) {}

var resolvePathTests

func TestResolvePath(t *testing.T) {}

func BenchmarkResolvePath(b *testing.B) {}

var resolveReferenceTests

func TestResolveReference(t *testing.T) {}

func TestQueryValues(t *testing.T) {}

type parseTest

var parseTests

func TestParseQuery(t *testing.T) {}

type RequestURITest

var requritests

func TestRequestURI(t *testing.T) {}

func TestParseFailure(t *testing.T) {}

func TestParseErrors(t *testing.T) {}

// Issue 11202
func TestStarRequest(t *testing.T) {}

type shouldEscapeTest

var shouldEscapeTests

func TestShouldEscape(t *testing.T) {}

type timeoutError

func (e *timeoutError) Error() string {}

func (e *timeoutError) Timeout() bool {}

type temporaryError

func (e *temporaryError) Error() string   {}

func (e *temporaryError) Temporary() bool {}

type timeoutTemporaryError

func (e *timeoutTemporaryError) Error() string {}

var netErrorTests

// Test that url.Error implements net.Error and that it forwards
func TestURLErrorImplementsNetError(t *testing.T) {}

func TestURLHostnameAndPort(t *testing.T) {}

var _

var _

var _

func TestJSON(t *testing.T) {}

func TestGob(t *testing.T) {}

func TestNilUser(t *testing.T) {}

func TestInvalidUserPassword(t *testing.T) {}

func TestRejectControlCharacters(t *testing.T) {}

var escapeBenchmarks

func BenchmarkQueryEscape(b *testing.B) {}

func BenchmarkPathEscape(b *testing.B) {}

func BenchmarkQueryUnescape(b *testing.B) {}

func BenchmarkPathUnescape(b *testing.B) {}

func TestJoinPath(t *testing.T) {}