go/src/cmd/compile/internal/importer/gcimporter_test.go

func TestMain(m *testing.M) {}

// compile runs the compiler on filename, with dirname as the working directory,
// and writes the output file to outdirname.
// compile gives the resulting package a packagepath of testdata/<filebasename>.
func compile(t *testing.T, dirname, filename, outdirname string, packagefiles map[string]string) string {}

func testPath(t *testing.T, path, srcDir string) *types2.Package {}

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

func TestImportTestdata(t *testing.T) {}

func TestVersionHandling(t *testing.T) {}

func TestImportStdLib(t *testing.T) {}

var importedObjectTests

func TestImportedTypes(t *testing.T) {}

// verifyInterfaceMethodRecvs verifies that method receiver types
// are named if the methods belong to a named interface type.
func verifyInterfaceMethodRecvs(t *testing.T, named *types2.Named, level int) {}

func TestIssue5815(t *testing.T) {}

// Smoke test to ensure that imported methods get the correct package.
func TestCorrectMethodPackage(t *testing.T) {}

func TestIssue13566(t *testing.T) {}

func TestIssue13898(t *testing.T) {}

func TestIssue15517(t *testing.T) {}

func TestIssue15920(t *testing.T) {}

func TestIssue20046(t *testing.T) {}

func TestIssue25301(t *testing.T) {}

func TestIssue25596(t *testing.T) {}

func importPkg(t *testing.T, path, srcDir string) *types2.Package {}

func compileAndImportPkg(t *testing.T, name string) *types2.Package {}

func lookupObj(t *testing.T, scope *types2.Scope, name string) types2.Object {}

type importMap

func (m importMap) Import(path string) (*types2.Package, error) {}

func TestIssue69912(t *testing.T) {}