github.com/goplus/igop@v0.25.0/pkg/testing/go119_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //go:build go1.19 && !go1.20 4 // +build go1.19,!go1.20 5 6 package testing 7 8 import ( 9 q "testing" 10 11 "reflect" 12 13 "github.com/goplus/igop" 14 ) 15 16 func init() { 17 igop.RegisterPackage(&igop.Package{ 18 Name: "testing", 19 Path: "testing", 20 Deps: map[string]string{ 21 "bytes": "bytes", 22 "errors": "errors", 23 "flag": "flag", 24 "fmt": "fmt", 25 "internal/race": "race", 26 "internal/sysinfo": "sysinfo", 27 "io": "io", 28 "math": "math", 29 "math/rand": "rand", 30 "os": "os", 31 "path/filepath": "filepath", 32 "reflect": "reflect", 33 "runtime": "runtime", 34 "runtime/debug": "debug", 35 "runtime/trace": "trace", 36 "sort": "sort", 37 "strconv": "strconv", 38 "strings": "strings", 39 "sync": "sync", 40 "sync/atomic": "atomic", 41 "time": "time", 42 "unicode": "unicode", 43 "unicode/utf8": "utf8", 44 }, 45 Interfaces: map[string]reflect.Type{ 46 "TB": reflect.TypeOf((*q.TB)(nil)).Elem(), 47 }, 48 NamedTypes: map[string]reflect.Type{ 49 "B": reflect.TypeOf((*q.B)(nil)).Elem(), 50 "BenchmarkResult": reflect.TypeOf((*q.BenchmarkResult)(nil)).Elem(), 51 "Cover": reflect.TypeOf((*q.Cover)(nil)).Elem(), 52 "CoverBlock": reflect.TypeOf((*q.CoverBlock)(nil)).Elem(), 53 "F": reflect.TypeOf((*q.F)(nil)).Elem(), 54 "InternalBenchmark": reflect.TypeOf((*q.InternalBenchmark)(nil)).Elem(), 55 "InternalExample": reflect.TypeOf((*q.InternalExample)(nil)).Elem(), 56 "InternalFuzzTarget": reflect.TypeOf((*q.InternalFuzzTarget)(nil)).Elem(), 57 "InternalTest": reflect.TypeOf((*q.InternalTest)(nil)).Elem(), 58 "M": reflect.TypeOf((*q.M)(nil)).Elem(), 59 "PB": reflect.TypeOf((*q.PB)(nil)).Elem(), 60 "T": reflect.TypeOf((*q.T)(nil)).Elem(), 61 }, 62 AliasTypes: map[string]reflect.Type{}, 63 Vars: map[string]reflect.Value{}, 64 Funcs: map[string]reflect.Value{ 65 "AllocsPerRun": reflect.ValueOf(q.AllocsPerRun), 66 "Benchmark": reflect.ValueOf(q.Benchmark), 67 "CoverMode": reflect.ValueOf(q.CoverMode), 68 "Coverage": reflect.ValueOf(q.Coverage), 69 "Init": reflect.ValueOf(q.Init), 70 "Main": reflect.ValueOf(q.Main), 71 "MainStart": reflect.ValueOf(q.MainStart), 72 "RegisterCover": reflect.ValueOf(q.RegisterCover), 73 "RunBenchmarks": reflect.ValueOf(q.RunBenchmarks), 74 "RunExamples": reflect.ValueOf(q.RunExamples), 75 "RunTests": reflect.ValueOf(q.RunTests), 76 "Short": reflect.ValueOf(q.Short), 77 "Verbose": reflect.ValueOf(q.Verbose), 78 }, 79 TypedConsts: map[string]igop.TypedConst{}, 80 UntypedConsts: map[string]igop.UntypedConst{}, 81 }) 82 }