gotools/godoc/index_test.go

func newCorpus(t *testing.T) *Corpus {}

func TestIndex(t *testing.T) {}

func TestIndexWriteRead(t *testing.T) {}

func testIndex(t *testing.T, c *Corpus, ix *Index) {}

// checkStats checks the Index's statistics.
// Some statistics are only set when we're indexing Go code.
func checkStats(t *testing.T, c *Corpus, ix *Index) {}

// checkImportCount checks the Index's import count map.
// It is only set when we're indexing Go code.
func checkImportCount(t *testing.T, c *Corpus, ix *Index) {}

// checkPackagePath checks the Index's package path map.
// It is set if at least one of the indexing options is enabled.
func checkPackagePath(t *testing.T, c *Corpus, ix *Index) {}

// checkExports checks the Index's exports map.
// It is only set when we're indexing Go code.
func checkExports(t *testing.T, c *Corpus, ix *Index) {}

// checkIdents checks the Index's indents map.
// It is only set when we're indexing documentation.
func checkIdents(t *testing.T, c *Corpus, ix *Index) {}

func TestIdentResultSort(t *testing.T) {}

func TestIdentFilter(t *testing.T) {}