Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ShouldBeAction ¶
func ShouldBeAction(actual interface{}, expected ...interface{}) string
Types ¶
type TestRunner ¶
type TestRunner struct { *testing.T WaitTimeout time.Duration IgnoreSubs bool Id string Received chan sarif.Message RecMutex sync.Mutex // contains filtered or unexported fields }
func NewTestRunner ¶
func NewTestRunner(t *testing.T) *TestRunner
func (*TestRunner) Expect ¶
func (t *TestRunner) Expect() sarif.Message
func (*TestRunner) Publish ¶
func (t *TestRunner) Publish(msg sarif.Message)
func (*TestRunner) Subscribe ¶
func (t *TestRunner) Subscribe(action string)
func (*TestRunner) UseConn ¶
func (t *TestRunner) UseConn(conn sfproto.Conn)
func (*TestRunner) Wait ¶
func (t *TestRunner) Wait()
func (*TestRunner) When ¶
func (t *TestRunner) When(msgs ...sarif.Message)
Click to show internal directories.
Click to hide internal directories.