gotools/go/types/objectpath/objectpath_test.go

func TestPaths(t *testing.T) {}

func testPaths(t *testing.T, gotypesalias int) {}

// loadPackages expands the archive and loads the package patterns relative to its root.
func loadPackages(t *testing.T, archive string, patterns ...string) map[string]*packages.Package {}

type pathTest

func testPath(pkgmap map[string]*packages.Package, test pathTest) error {}

// TestSourceAndExportData uses objectpath to compute a correspondence
// of objects between two versions of the same package, one loaded from
// source, the other from export data.
func TestSourceAndExportData(t *testing.T) {}

func objectString(obj types.Object) string {}

// TestOrdering uses objectpath over two Named types with the same method
// names but in a different source order and checks that objectpath is the
// same for methods with the same name.
func TestOrdering(t *testing.T) {}