go/pkg/mod/golang.org/x/[email protected]/go/internal/gcimporter/gcimporter_test.go

func TestMain(m *testing.M) {}

// skipSpecialPlatforms causes the test to be skipped for platforms where
// builders (build.golang.org) don't have access to compiled packages for
// import.
func skipSpecialPlatforms(t *testing.T) {}

func needsCompiler(t *testing.T, compiler string) {}

// compile runs the compiler on filename, with dirname as the working directory,
// and writes the output file to outdirname.
func compile(t *testing.T, dirname, filename, outdirname string) string {}

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

const maxTime

func testDir(t *testing.T, dir string, endTime time.Time) (nimports int) {}

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

const testfile

func TestImportTestdata(t *testing.T) {}

func TestVersionHandling(t *testing.T) {}

func TestImportStdLib(t *testing.T) {}

var importedObjectTests

func TestImportedTypes(t *testing.T) {}

func TestImportedConsts(t *testing.T) {}

// importObject imports the object specified by a name of the form
// <import path>.<object name>, e.g. go/types.Type.
//
// If any errors occur they are reported via t and the resulting object will
// be nil.
func importObject(t *testing.T, name string) types.Object {}

// 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 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 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 {}