gotools/gopls/internal/cache/parse_cache_test.go

func skipIfNoParseCache(t *testing.T) {}

func TestParseCache(t *testing.T) {}

func TestParseCache_Reparsing(t *testing.T) {}

// Re-parsing the first file should not panic.
func TestParseCache_Issue59097(t *testing.T) {}

func TestParseCache_TimeEviction(t *testing.T) {}

func TestParseCache_Duplicates(t *testing.T) {}

func dummyFileHandles(n int) []file.Handle {}

func makeFakeFileHandle(uri protocol.DocumentURI, src []byte) fakeFileHandle {}

type fakeFileHandle

func (h fakeFileHandle) URI() protocol.DocumentURI {}

func (h fakeFileHandle) Content() ([]byte, error) {}

func (h fakeFileHandle) Identity() file.Identity {}