suite

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2024 License: MulanPSL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const FuncDefine = `
func (this *Test{{.SingleStruct}}Suite) {{.TestFuncName}}() {
    logrus.Info(1)

}
`

Variables

This section is empty.

Functions

func InjectSuiteFactroy

func InjectSuiteFactroy(s *SuiteFactroy)

func InjectSuiteMethod

func InjectSuiteMethod(s *SuiteMethod)

func LoadSuiteFactroy

func LoadSuiteFactroy() baseiface.ISingleton

func LoadSuiteMethod

func LoadSuiteMethod() baseiface.ISingleton

Types

type SuiteFactroy

type SuiteFactroy struct {
	basedto.BaseEntity
	*codefactroy.CodeFactroy
}

func FindBeanSuiteFactroy

func FindBeanSuiteFactroy() *SuiteFactroy

func NewSuiteFactroy

func NewSuiteFactroy() *SuiteFactroy

func (*SuiteFactroy) Make

func (self *SuiteFactroy) Make(dto *didto.DiDto) error

func (*SuiteFactroy) MakeSuiteOne

func (this *SuiteFactroy) MakeSuiteOne(structInfo *didto.StructInfo) bool

func (*SuiteFactroy) MakeToParam

func (self *SuiteFactroy) MakeToParam()

func (*SuiteFactroy) StructFileName

func (cf *SuiteFactroy) StructFileName() string

func (*SuiteFactroy) WriteStructFile

func (self *SuiteFactroy) WriteStructFile() error

type SuiteMethod

type SuiteMethod struct {
	basedto.BaseEntity
	Methods *gmap.StrStrMap
}

func FindBeanSuiteMethod

func FindBeanSuiteMethod() *SuiteMethod

func NewSuiteMethod

func NewSuiteMethod() *SuiteMethod

func (*SuiteMethod) BuildMethod

func (this *SuiteMethod) BuildMethod(i int, m string, stru string)

func (*SuiteMethod) Encode

func (this *SuiteMethod) Encode() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL