go/src/go/internal/srcimporter/srcimporter_test.go

func TestMain(m *testing.M) {}

const maxTime

var importer

func doImport(t *testing.T, path, srcDir string) {}

// walkDir imports the all the packages with the given path
// prefix recursively. It returns the number of packages
// imported and whether importing was aborted because time
// has passed endTime.
func walkDir(t *testing.T, path string, endTime time.Time) (int, bool) {}

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

func TestIssue20855(t *testing.T) {}

func testImportPath(t *testing.T, pkgPath string) {}

// TestIssue23092 tests relative imports.
func TestIssue23092(t *testing.T) {}

// TestIssue24392 tests imports against a path containing 'testdata'.
func TestIssue24392(t *testing.T) {}

func TestCgo(t *testing.T) {}