func TestStdlibReferences(t *testing.T) { … } // This is a regression test for golang/go#48400 (a panic). func TestReferencesOnErrorMethod(t *testing.T) { … } func TestDefsRefsBuiltins(t *testing.T) { … } func TestPackageReferences(t *testing.T) { … } // Test for golang/go#43144. // // Verify that we search for references and implementations in intermediate // test variants. func TestReferencesInTestVariants(t *testing.T) { … } // This is a regression test for Issue #56169, in which interface // implementations in vendored modules were not found. The actual fix // was the same as for #55995; see TestVendoringInvalidatesMetadata. func TestImplementationsInVendor(t *testing.T) { … } // This test can't be expressed as a marker test because the marker // test framework opens all files (which is a bit of a hack), creating // a <command-line-arguments> package for packages that otherwise // wouldn't be found from the go.work file. func TestReferencesFromWorkspacePackages59674(t *testing.T) { … } // Test an 'implementation' query on a type that implements 'error'. // (Unfortunately builtin locations cannot be expressed using @loc // in the marker test framework.) func TestImplementationsOfError(t *testing.T) { … } // fileLocations returns a new sorted array of the // relative file name and line number of each location. // Duplicates are not removed. // Standard library filenames are abstracted for robustness. func fileLocations(env *integration.Env, locs []protocol.Location) []string { … }