github.com/goplus/igop@v0.25.0/pkg/testing/quick/go115_export.go (about)

     1  // export by github.com/goplus/igop/cmd/qexp
     2  
     3  //+build go1.15,!go1.16
     4  
     5  package quick
     6  
     7  import (
     8  	q "testing/quick"
     9  
    10  	"reflect"
    11  
    12  	"github.com/goplus/igop"
    13  )
    14  
    15  func init() {
    16  	igop.RegisterPackage(&igop.Package{
    17  		Name: "quick",
    18  		Path: "testing/quick",
    19  		Deps: map[string]string{
    20  			"flag":      "flag",
    21  			"fmt":       "fmt",
    22  			"math":      "math",
    23  			"math/rand": "rand",
    24  			"reflect":   "reflect",
    25  			"strings":   "strings",
    26  			"time":      "time",
    27  		},
    28  		Interfaces: map[string]reflect.Type{
    29  			"Generator": reflect.TypeOf((*q.Generator)(nil)).Elem(),
    30  		},
    31  		NamedTypes: map[string]reflect.Type{
    32  			"CheckEqualError": reflect.TypeOf((*q.CheckEqualError)(nil)).Elem(),
    33  			"CheckError":      reflect.TypeOf((*q.CheckError)(nil)).Elem(),
    34  			"Config":          reflect.TypeOf((*q.Config)(nil)).Elem(),
    35  			"SetupError":      reflect.TypeOf((*q.SetupError)(nil)).Elem(),
    36  		},
    37  		AliasTypes: map[string]reflect.Type{},
    38  		Vars:       map[string]reflect.Value{},
    39  		Funcs: map[string]reflect.Value{
    40  			"Check":      reflect.ValueOf(q.Check),
    41  			"CheckEqual": reflect.ValueOf(q.CheckEqual),
    42  			"Value":      reflect.ValueOf(q.Value),
    43  		},
    44  		TypedConsts:   map[string]igop.TypedConst{},
    45  		UntypedConsts: map[string]igop.UntypedConst{},
    46  	})
    47  }