Documentation ¶
Index ¶
- func IsCI() bool
- type TestDiagSink
- func (d *TestDiagSink) DebugMsgs() []string
- func (d *TestDiagSink) Debugf(dia *diag.Diag, args ...interface{})
- func (d *TestDiagSink) ErrorMsgs() []string
- func (d *TestDiagSink) Errorf(dia *diag.Diag, args ...interface{})
- func (d *TestDiagSink) InfoMsgs() []string
- func (d *TestDiagSink) Infof(dia *diag.Diag, args ...interface{})
- func (d *TestDiagSink) Logf(sev diag.Severity, dia *diag.Diag, args ...interface{})
- func (d *TestDiagSink) Stringify(sev diag.Severity, dia *diag.Diag, args ...interface{}) (string, string)
- func (d *TestDiagSink) WarningMsgs() []string
- func (d *TestDiagSink) Warningf(dia *diag.Diag, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TestDiagSink ¶
type TestDiagSink struct { Pwd string // contains filtered or unexported fields }
TestDiagSink suppresses message output, but captures them, so that they can be compared to expected results.
func NewTestDiagSink ¶
func NewTestDiagSink(pwd string) *TestDiagSink
func (*TestDiagSink) DebugMsgs ¶
func (d *TestDiagSink) DebugMsgs() []string
func (*TestDiagSink) Debugf ¶
func (d *TestDiagSink) Debugf(dia *diag.Diag, args ...interface{})
func (*TestDiagSink) ErrorMsgs ¶
func (d *TestDiagSink) ErrorMsgs() []string
func (*TestDiagSink) Errorf ¶
func (d *TestDiagSink) Errorf(dia *diag.Diag, args ...interface{})
func (*TestDiagSink) InfoMsgs ¶
func (d *TestDiagSink) InfoMsgs() []string
func (*TestDiagSink) Infof ¶
func (d *TestDiagSink) Infof(dia *diag.Diag, args ...interface{})
func (*TestDiagSink) Logf ¶
func (d *TestDiagSink) Logf(sev diag.Severity, dia *diag.Diag, args ...interface{})
func (*TestDiagSink) WarningMsgs ¶
func (d *TestDiagSink) WarningMsgs() []string
func (*TestDiagSink) Warningf ¶
func (d *TestDiagSink) Warningf(dia *diag.Diag, args ...interface{})
Click to show internal directories.
Click to hide internal directories.