Documentation ¶
Index ¶
- func Build(w io.Writer, name, pack string, other ...string) (string, error)
- func GoGet(w io.Writer, pack string) error
- func JUnit(r Result) junit.TestCase
- func SimpleTestPackage(arg ...string) string
- func UpdateLibs(w io.Writer) error
- type Result
- type SimpleTest
- func (t *SimpleTest) Build(w io.Writer) error
- func (t *SimpleTest) Check(w io.Writer) error
- func (t *SimpleTest) Clean(w io.Writer, success bool) (err error)
- func (t *SimpleTest) GetCategory() string
- func (t *SimpleTest) GetInfo() string
- func (t *SimpleTest) GetName() string
- func (t *SimpleTest) Run(w io.Writer) error
- func (t *SimpleTest) Setup(w io.Writer) error
- type Test
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SimpleTestPackage ¶
func UpdateLibs ¶
Types ¶
type SimpleTest ¶
type SimpleTest struct { Name string Category string Info string Package string Memory int Stdin []byte Timeout time.Duration CanCrash bool CanShutdown bool CanTimeout bool CheckRun func(string) error // contains filtered or unexported fields }
func (*SimpleTest) GetCategory ¶
func (t *SimpleTest) GetCategory() string
func (*SimpleTest) GetInfo ¶
func (t *SimpleTest) GetInfo() string
func (*SimpleTest) GetName ¶
func (t *SimpleTest) GetName() string
Click to show internal directories.
Click to hide internal directories.