Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RedirectLogsToTest ¶
RedirectLogsToTest redirects golog log statements to t.Log. Call the returned cancel function to start sending logs back to stdout and stderr.
Types ¶
type ExpectedResult ¶
type ExpectedResult []ExpectedRow
func (ExpectedResult) Assert ¶
func (er ExpectedResult) Assert(t *testing.T, label string, md *common.QueryMetaData, rows []*core.FlatRow) bool
func (ExpectedResult) TryAssert ¶
func (er ExpectedResult) TryAssert(md *common.QueryMetaData, rows []*core.FlatRow) bool
type ExpectedRow ¶
func (ExpectedRow) FieldDiff ¶
func (erow ExpectedRow) FieldDiff(fieldNames []string) string
Click to show internal directories.
Click to hide internal directories.