Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadAndAssertLines ¶
func ReadAndAssertLines(t *testing.T, subscriber observer.Subscriber, logLine string, nLines int, done chan bool)
Reads lines from subscriber channel, asserts correct number, then sends true to bool channel. Should be used with timeout as it will just hang if not enough records are received.
Types ¶
type MockConnector ¶
type MockConnector struct{}
Mock Connector implementing ConnectorInterface
func (MockConnector) Close ¶
func (c MockConnector) Close() error
func (MockConnector) GetName ¶
func (c MockConnector) GetName() string
Click to show internal directories.
Click to hide internal directories.