-
Notifications
You must be signed in to change notification settings - Fork 93
/
testing.go
49 lines (46 loc) · 2.14 KB
/
testing.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
// this file was generated by gomacro command: import _b "testing"
// DO NOT EDIT! Any change will be lost when the file is re-generated
package imports
import (
. "reflect"
testing "testing"
)
// reflection: allow interpreted code to import "testing"
func init() {
Packages["testing"] = Package{
Name: "testing",
Binds: map[string]Value{
"AllocsPerRun": ValueOf(testing.AllocsPerRun),
"Benchmark": ValueOf(testing.Benchmark),
"CoverMode": ValueOf(testing.CoverMode),
"Coverage": ValueOf(testing.Coverage),
"Init": ValueOf(testing.Init),
"Main": ValueOf(testing.Main),
"MainStart": ValueOf(testing.MainStart),
"RegisterCover": ValueOf(testing.RegisterCover),
"RunBenchmarks": ValueOf(testing.RunBenchmarks),
"RunExamples": ValueOf(testing.RunExamples),
"RunTests": ValueOf(testing.RunTests),
"Short": ValueOf(testing.Short),
"Verbose": ValueOf(testing.Verbose),
}, Types: map[string]Type{
"B": TypeOf((*testing.B)(nil)).Elem(),
"BenchmarkResult": TypeOf((*testing.BenchmarkResult)(nil)).Elem(),
"Cover": TypeOf((*testing.Cover)(nil)).Elem(),
"CoverBlock": TypeOf((*testing.CoverBlock)(nil)).Elem(),
"F": TypeOf((*testing.F)(nil)).Elem(),
"InternalBenchmark": TypeOf((*testing.InternalBenchmark)(nil)).Elem(),
"InternalExample": TypeOf((*testing.InternalExample)(nil)).Elem(),
"InternalFuzzTarget": TypeOf((*testing.InternalFuzzTarget)(nil)).Elem(),
"InternalTest": TypeOf((*testing.InternalTest)(nil)).Elem(),
"M": TypeOf((*testing.M)(nil)).Elem(),
"PB": TypeOf((*testing.PB)(nil)).Elem(),
"T": TypeOf((*testing.T)(nil)).Elem(),
"TB": TypeOf((*testing.TB)(nil)).Elem(),
}, Wrappers: map[string][]string{
"B": []string{"Cleanup","Error","Errorf","Fail","FailNow","Failed","Fatal","Fatalf","Helper","Log","Logf","Name","Setenv","Skip","SkipNow","Skipf","Skipped","TempDir",},
"F": []string{"Cleanup","Error","Errorf","FailNow","Failed","Fatal","Fatalf","Log","Logf","Name","Setenv","Skip","SkipNow","Skipf","TempDir",},
"T": []string{"Cleanup","Error","Errorf","Fail","FailNow","Failed","Fatal","Fatalf","Helper","Log","Logf","Name","Skip","SkipNow","Skipf","Skipped","TempDir",},
},
}
}