Documentation ¶
Index ¶
- type Progresser
- func (p *Progresser) CallChecksCount(v uint32)
- func (p *Progresser) CheckFailed(name string, ss []string)
- func (p *Progresser) CheckPassed(name, msg string)
- func (p *Progresser) CheckSkipped(name, msg string)
- func (p *Progresser) ChecksPassed()
- func (p *Progresser) Errorf(format string, s ...interface{})
- func (p *Progresser) MaxTestsCount(v uint32)
- func (p *Progresser) Printf(format string, s ...interface{})
- func (p *Progresser) Terminate() error
- func (p *Progresser) TestCallsCount(v uint32)
- func (p *Progresser) TotalCallsCount(v uint32)
- func (p *Progresser) TotalChecksCount(v uint32)
- func (p *Progresser) TotalTestsCount(v uint32)
- func (p *Progresser) WithContext(ctx context.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Progresser ¶
type Progresser struct {
// contains filtered or unexported fields
}
Progresser implements progresser.Interface
func (*Progresser) CallChecksCount ¶
func (p *Progresser) CallChecksCount(v uint32)
CallChecksCount may be called many times during testing
func (*Progresser) CheckFailed ¶
func (p *Progresser) CheckFailed(name string, ss []string)
CheckFailed may be called many times during testing
func (*Progresser) CheckPassed ¶
func (p *Progresser) CheckPassed(name, msg string)
CheckPassed may be called many times during testing
func (*Progresser) CheckSkipped ¶
func (p *Progresser) CheckSkipped(name, msg string)
CheckSkipped may be called many times during testing
func (*Progresser) ChecksPassed ¶
func (p *Progresser) ChecksPassed()
ChecksPassed may be called many times during testing
func (*Progresser) Errorf ¶
func (p *Progresser) Errorf(format string, s ...interface{})
Errorf formats error messages
func (*Progresser) MaxTestsCount ¶
func (p *Progresser) MaxTestsCount(v uint32)
MaxTestsCount sets an upper bound before testing starts
func (*Progresser) Printf ¶
func (p *Progresser) Printf(format string, s ...interface{})
Printf formats informational data
func (*Progresser) Terminate ¶
func (p *Progresser) Terminate() error
Terminate cleans up after a progresser.Interface implementation instance
func (*Progresser) TestCallsCount ¶
func (p *Progresser) TestCallsCount(v uint32)
TestCallsCount may be called many times during testing
func (*Progresser) TotalCallsCount ¶
func (p *Progresser) TotalCallsCount(v uint32)
TotalCallsCount may be called many times during testing
func (*Progresser) TotalChecksCount ¶
func (p *Progresser) TotalChecksCount(v uint32)
TotalChecksCount may be called many times during testing
func (*Progresser) TotalTestsCount ¶
func (p *Progresser) TotalTestsCount(v uint32)
TotalTestsCount may be called many times during testing
func (*Progresser) WithContext ¶
func (p *Progresser) WithContext(ctx context.Context)
WithContext sets ctx of a progresser.Interface implementation