...
1 package testing
2
3 import (
4 "testing"
5 )
6
7 func AllocsPerRun(runs int, f func()) (avg float64) {
8 panic(unsupportedApi("testing.AllocsPerRun"))
9 }
10 func CoverMode() string {
11 panic(unsupportedApi("testing.CoverMode"))
12 }
13 func Coverage() float64 {
14 panic(unsupportedApi("testing.Coverage"))
15 }
16 func Init() {
17 panic(unsupportedApi("testing.Init"))
18
19 }
20 func RegisterCover(c testing.Cover) {
21 panic(unsupportedApi("testing.RegisterCover"))
22 }
23 func RunExamples(matchString func(pat, str string) (bool, error), examples []testing.InternalExample) (ok bool) {
24 panic(unsupportedApi("testing.RunExamples"))
25 }
26
27 func RunTests(matchString func(pat, str string) (bool, error), tests []testing.InternalTest) (ok bool) {
28 panic(unsupportedApi("testing.RunTests"))
29 }
30
31 func Short() bool {
32 return false
33 }
34
35 func Verbose() bool {
36 panic(unsupportedApi("testing.Verbose"))
37 }
38
39 type M struct {}
40 func (m *M) Run() (code int) {
41 panic("testing.M is not support in libFuzzer Mode")
42 }
43
View as plain text