github.com/goplus/gossa@v0.3.25/pkg/testing/go114_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //+build go1.14,!go1.15 4 5 package testing 6 7 import ( 8 q "testing" 9 10 "reflect" 11 12 "github.com/goplus/gossa" 13 ) 14 15 func init() { 16 gossa.RegisterPackage(&gossa.Package{ 17 Name: "testing", 18 Path: "testing", 19 Deps: map[string]string{ 20 "bytes": "bytes", 21 "errors": "errors", 22 "flag": "flag", 23 "fmt": "fmt", 24 "internal/race": "race", 25 "io": "io", 26 "math": "math", 27 "os": "os", 28 "runtime": "runtime", 29 "runtime/debug": "debug", 30 "runtime/trace": "trace", 31 "sort": "sort", 32 "strconv": "strconv", 33 "strings": "strings", 34 "sync": "sync", 35 "sync/atomic": "atomic", 36 "time": "time", 37 "unicode": "unicode", 38 }, 39 Interfaces: map[string]reflect.Type{ 40 "TB": reflect.TypeOf((*q.TB)(nil)).Elem(), 41 }, 42 NamedTypes: map[string]gossa.NamedType{ 43 "B": {reflect.TypeOf((*q.B)(nil)).Elem(), "", "ReportAllocs,ReportMetric,ResetTimer,Run,RunParallel,SetBytes,SetParallelism,StartTimer,StopTimer,add,doBench,launch,run,run1,runN,trimOutput"}, 44 "BenchmarkResult": {reflect.TypeOf((*q.BenchmarkResult)(nil)).Elem(), "AllocedBytesPerOp,AllocsPerOp,MemString,NsPerOp,String,mbPerSec", ""}, 45 "Cover": {reflect.TypeOf((*q.Cover)(nil)).Elem(), "", ""}, 46 "CoverBlock": {reflect.TypeOf((*q.CoverBlock)(nil)).Elem(), "", ""}, 47 "InternalBenchmark": {reflect.TypeOf((*q.InternalBenchmark)(nil)).Elem(), "", ""}, 48 "InternalExample": {reflect.TypeOf((*q.InternalExample)(nil)).Elem(), "", "processRunResult"}, 49 "InternalTest": {reflect.TypeOf((*q.InternalTest)(nil)).Elem(), "", ""}, 50 "M": {reflect.TypeOf((*q.M)(nil)).Elem(), "", "Run,after,before,startAlarm,stopAlarm,writeProfiles"}, 51 "PB": {reflect.TypeOf((*q.PB)(nil)).Elem(), "", "Next"}, 52 "T": {reflect.TypeOf((*q.T)(nil)).Elem(), "", "Parallel,Run,report"}, 53 }, 54 AliasTypes: map[string]reflect.Type{}, 55 Vars: map[string]reflect.Value{}, 56 Funcs: map[string]reflect.Value{ 57 "AllocsPerRun": reflect.ValueOf(q.AllocsPerRun), 58 "Benchmark": reflect.ValueOf(q.Benchmark), 59 "CoverMode": reflect.ValueOf(q.CoverMode), 60 "Coverage": reflect.ValueOf(q.Coverage), 61 "Init": reflect.ValueOf(q.Init), 62 "Main": reflect.ValueOf(q.Main), 63 "MainStart": reflect.ValueOf(q.MainStart), 64 "RegisterCover": reflect.ValueOf(q.RegisterCover), 65 "RunBenchmarks": reflect.ValueOf(q.RunBenchmarks), 66 "RunExamples": reflect.ValueOf(q.RunExamples), 67 "RunTests": reflect.ValueOf(q.RunTests), 68 "Short": reflect.ValueOf(q.Short), 69 "Verbose": reflect.ValueOf(q.Verbose), 70 }, 71 TypedConsts: map[string]gossa.TypedConst{}, 72 UntypedConsts: map[string]gossa.UntypedConst{}, 73 }) 74 }