type testing.T
29 uses
testing (current package)
testing.go#L414: sub []*T // Queue of subtests to be run in parallel.
testing.go#L654: var _ TB = (*T)(nil)
testing.go#L666: type T struct {
testing.go#L1033: func (t *T) Parallel() {
testing.go#L1074: F func(*T)
testing.go#L1079: func tRunner(t *T, fn func(t *T)) {
testing.go#L1205: func (t *T) Run(name string, f func(t *T)) bool {
testing.go#L1216: t = &T{
testing.go#L1251: func (t *T) Deadline() (deadline time.Time, ok bool) {
testing.go#L1434: func (t *T) report() {
testing.go#L1498: t := &T{
testing.go#L1509: tRunner(t, func(t *T) {
golang.org/x/pkgsite/internal/index
test_helper.go#L20: func SetupTestIndex(t *testing.T, versions []*internal.IndexVersion) (*Client, func()) {
golang.org/x/pkgsite/internal/postgres
test_helper.go#L107: func ResetTestDB(db *DB, t *testing.T) {
test_helper.go#L163: func RunDBTestsInParallel(dbBaseName string, numDBs int, m *testing.M, acquirep *func(*testing.T) (*DB, func())) {
test_helper.go#L179: *acquirep = func(t *testing.T) (*DB, func()) {
test_helper.go#L204: func MustInsertModule(ctx context.Context, t *testing.T, db *DB, m *internal.Module) {
test_helper.go#L208: func MustInsertModuleGoMod(ctx context.Context, t *testing.T, db *DB, m *internal.Module, goMod string) {
test_helper.go#L212: func MustInsertModuleNotLatest(ctx context.Context, t *testing.T, db *DB, m *internal.Module) {
test_helper.go#L216: func mustInsertModule(ctx context.Context, t *testing.T, db *DB, m *internal.Module, goMod string, latest bool) {
test_helper.go#L231: func addLatest(ctx context.Context, t *testing.T, db *DB, modulePath, version, modFile string) *internal.LatestModuleVersions {
test_helper.go#L248: func InsertSampleDirectoryTree(ctx context.Context, t *testing.T, testDB *DB) {
test_helper.go#L325: func GetFromSearchDocuments(ctx context.Context, t *testing.T, db *DB, packagePath string) (modulePath, version string, found bool) {
golang.org/x/pkgsite/internal/proxy
test_helper.go#L23: func SetupTestClient(t *testing.T, modules []*Module) (*Client, func()) {
golang.org/x/pkgsite/internal/testing/testhelper
testhelper.go#L148: func CompareWithGolden(t *testing.T, got, filename string, update bool) {
testhelper.go#L160: func writeGolden(t *testing.T, name string, data string) {
testhelper.go#L168: func readGolden(t *testing.T, name string) string {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |