var testCtx …
func TestMain(m *testing.M) { … }
func skipIfShort(t *testing.T, reason string) { … }
func testAllOrModulesParallel(t *testing.T, f func(*testing.T, packagestest.Exporter)) { … }
func TestLoadZeroConfig(t *testing.T) { … }
func TestLoadImportsGraph(t *testing.T) { … }
func testLoadImportsGraph(t *testing.T, exporter packagestest.Exporter) { … }
func TestLoadImportsTestVariants(t *testing.T) { … }
func testLoadImportsTestVariants(t *testing.T, exporter packagestest.Exporter) { … }
func TestLoadAbsolutePath(t *testing.T) { … }
func TestLoadArgumentListIsNotTooLong(t *testing.T) { … }
func TestVendorImports(t *testing.T) { … }
func imports(p *packages.Package) []string { … }
func TestConfigDir(t *testing.T) { … }
func testConfigDir(t *testing.T, exporter packagestest.Exporter) { … }
func TestConfigFlags(t *testing.T) { … }
func testConfigFlags(t *testing.T, exporter packagestest.Exporter) { … }
func TestLoadTypes(t *testing.T) { … }
func testLoadTypes(t *testing.T, exporter packagestest.Exporter) { … }
func TestLoadTypesBits(t *testing.T) { … }
func testLoadTypesBits(t *testing.T, exporter packagestest.Exporter) { … }
func TestLoadSyntaxOK(t *testing.T) { … }
func testLoadSyntaxOK(t *testing.T, exporter packagestest.Exporter) { … }
func TestLoadDiamondTypes(t *testing.T) { … }
func testLoadDiamondTypes(t *testing.T, exporter packagestest.Exporter) { … }
func TestLoadSyntaxError(t *testing.T) { … }
func testLoadSyntaxError(t *testing.T, exporter packagestest.Exporter) { … }
func TestParseFileModifyAST(t *testing.T) { … }
func testParseFileModifyAST(t *testing.T, exporter packagestest.Exporter) { … }
func TestAdHocPackagesBadImport(t *testing.T) { … }
func TestLoadAllSyntaxImportErrors(t *testing.T) { … }
func testLoadAllSyntaxImportErrors(t *testing.T, exporter packagestest.Exporter) { … }
func TestAbsoluteFilenames(t *testing.T) { … }
func testAbsoluteFilenames(t *testing.T, exporter packagestest.Exporter) { … }
func TestContains(t *testing.T) { … }
func testContains(t *testing.T, exporter packagestest.Exporter) { … }
func TestSizes(t *testing.T) { … }
func testSizes(t *testing.T, exporter packagestest.Exporter) { … }
func TestNeedTypeSizesWithBadGOARCH(t *testing.T) { … }
func TestContainsFallbackSticks(t *testing.T) { … }
func testContainsFallbackSticks(t *testing.T, exporter packagestest.Exporter) { … }
func TestNoPatterns(t *testing.T) { … }
func testNoPatterns(t *testing.T, exporter packagestest.Exporter) { … }
func TestJSON(t *testing.T) { … }
func testJSON(t *testing.T, exporter packagestest.Exporter) { … }
func TestRejectInvalidQueries(t *testing.T) { … }
func TestPatternPassthrough(t *testing.T) { … }
func testPatternPassthrough(t *testing.T, exporter packagestest.Exporter) { … }
func TestConfigDefaultEnv(t *testing.T) { … }
func testConfigDefaultEnv(t *testing.T, exporter packagestest.Exporter) { … }
func TestBasicXTest(t *testing.T) { … }
func testBasicXTest(t *testing.T, exporter packagestest.Exporter) { … }
func TestErrorMissingFile(t *testing.T) { … }
func testErrorMissingFile(t *testing.T, exporter packagestest.Exporter) { … }
func TestReturnErrorWhenUsingNonGoFiles(t *testing.T) { … }
func testReturnErrorWhenUsingNonGoFiles(t *testing.T, exporter packagestest.Exporter) { … }
func TestReturnErrorWhenUsingGoFilesInMultipleDirectories(t *testing.T) { … }
func testReturnErrorWhenUsingGoFilesInMultipleDirectories(t *testing.T, exporter packagestest.Exporter) { … }
func TestReturnErrorForUnexpectedDirectoryLayout(t *testing.T) { … }
func testReturnErrorForUnexpectedDirectoryLayout(t *testing.T, exporter packagestest.Exporter) { … }
func TestMissingDependency(t *testing.T) { … }
func testMissingDependency(t *testing.T, exporter packagestest.Exporter) { … }
func TestAdHocContains(t *testing.T) { … }
func testAdHocContains(t *testing.T, exporter packagestest.Exporter) { … }
func TestCgoNoCcompiler(t *testing.T) { … }
func testCgoNoCcompiler(t *testing.T, exporter packagestest.Exporter) { … }
func TestCgoMissingFile(t *testing.T) { … }
func testCgoMissingFile(t *testing.T, exporter packagestest.Exporter) { … }
func TestLoadImportsC(t *testing.T) { … }
func TestCgoNoSyntax(t *testing.T) { … }
func testCgoNoSyntax(t *testing.T, exporter packagestest.Exporter) { … }
func TestCgoBadPkgConfig(t *testing.T) { … }
func testCgoBadPkgConfig(t *testing.T, exporter packagestest.Exporter) { … }
func buildFakePkgconfig(t *testing.T, env []string) string { … }
func TestIssue32814(t *testing.T) { … }
func testIssue32814(t *testing.T, exporter packagestest.Exporter) { … }
func TestLoadTypesInfoWithoutNeedDeps(t *testing.T) { … }
func testLoadTypesInfoWithoutNeedDeps(t *testing.T, exporter packagestest.Exporter) { … }
func TestLoadWithNeedDeps(t *testing.T) { … }
func testLoadWithNeedDeps(t *testing.T, exporter packagestest.Exporter) { … }
func TestImpliedLoadMode(t *testing.T) { … }
func testImpliedLoadMode(t *testing.T, exporter packagestest.Exporter) { … }
func TestIssue35331(t *testing.T) { … }
func testIssue35331(t *testing.T, exporter packagestest.Exporter) { … }
func TestMultiplePackageVersionsIssue36188(t *testing.T) { … }
func testMultiplePackageVersionsIssue36188(t *testing.T, exporter packagestest.Exporter) { … }
func TestLoadModeStrings(t *testing.T) { … }
func TestCycleImportStack(t *testing.T) { … }
func testCycleImportStack(t *testing.T, exporter packagestest.Exporter) { … }
func TestForTestField(t *testing.T) { … }
func testForTestField(t *testing.T, exporter packagestest.Exporter) { … }
func TestIssue37629(t *testing.T) { … }
func testIssue37629(t *testing.T, exporter packagestest.Exporter) { … }
func TestIssue37098(t *testing.T) { … }
func testIssue37098(t *testing.T, exporter packagestest.Exporter) { … }
func TestIssue56632(t *testing.T) { … }
func TestInvalidFilesInXTest(t *testing.T) { … }
func testInvalidFilesInXTest(t *testing.T, exporter packagestest.Exporter) { … }
func TestTypecheckCgo(t *testing.T) { … }
func testTypecheckCgo(t *testing.T, exporter packagestest.Exporter) { … }
func TestIssue48226(t *testing.T) { … }
func testIssue48226(t *testing.T, exporter packagestest.Exporter) { … }
func TestModule(t *testing.T) { … }
func testModule(t *testing.T, exporter packagestest.Exporter) { … }
func TestExternal_NotHandled(t *testing.T) { … }
func testExternal_NotHandled(t *testing.T, exporter packagestest.Exporter) { … }
func TestInvalidPackageName(t *testing.T) { … }
func testInvalidPackageName(t *testing.T, exporter packagestest.Exporter) { … }
func TestEmptyEnvironment(t *testing.T) { … }
func TestPackageLoadSingleFile(t *testing.T) { … }
func errorMessages(errors []packages.Error) []string { … }
func srcs(p *packages.Package) []string { … }
func cleanPaths(paths []string) []string { … }
func importGraph(initial []*packages.Package) (string, map[string]*packages.Package) { … }
func constant(p *packages.Package, name string) *types.Const { … }
func copyAll(srcPath, dstPath string) error { … }
func TestExportFile(t *testing.T) { … }
func TestLoadEitherSucceedsOrFails(t *testing.T) { … }
func TestLoadOverlayGoMod(t *testing.T) { … }
func overlayFS(overlay map[string][]byte) fstest.MapFS { … }
func TestIssue69606a(t *testing.T) { … }
func TestIssue69606b(t *testing.T) { … }