go/src/go/internal/gcimporter/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, pkgImports ...string) string {}

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

var pkgExts

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

func TestImportTestdata(t *testing.T) {}

func TestImportTypeparamTests(t *testing.T) {}

// sanitizeObjectString removes type parameter debugging markers from an object
// string, to normalize it for comparison.
// TODO(rfindley): this should not be necessary.
func sanitizeObjectString(s string) string {}

func checkFile(t *testing.T, filename string, src []byte) *types.Package {}

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 *types.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 TestTypeNamingOrder(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 TestIssue57015(t *testing.T) {}

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

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

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

type importMap

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

func TestIssue69912(t *testing.T) {}