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