gotools/cmd/godoc/godoc_test.go

func TestMain(m *testing.M) {}

var exe

func godocPath(t *testing.T) string {}

func serverAddress(t *testing.T) string {}

func waitForServerReady(t *testing.T, ctx context.Context, cmd *exec.Cmd, addr string) {}

func waitForSearchReady(t *testing.T, ctx context.Context, cmd *exec.Cmd, addr string) {}

func waitUntilScanComplete(t *testing.T, ctx context.Context, addr string) {}

const pollInterval

// waitForServer waits for server to meet the required condition,
// failing the test if ctx is canceled before that occurs.
func waitForServer(t *testing.T, ctx context.Context, url, match string, reverse bool) {}

// hasTag checks whether a given release tag is contained in the current version
// of the go binary.
func hasTag(t string) bool {}

func TestURL(t *testing.T) {}

// Basic integration test for godoc HTTP interface.
func TestWeb(t *testing.T) {}

// Basic integration test for godoc HTTP interface.
func TestWebIndex(t *testing.T) {}

// Basic integration test for godoc HTTP interface.
func testWeb(t *testing.T, x packagestest.Exporter, bin string, withIndex bool) {}

// Test for golang.org/issue/35476.
func TestNoMainModule(t *testing.T) {}