columntests

package
v0.19.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

nolint

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ColumnTestCase

func ColumnTestCase(
	t *testing.T,
	testHits TestHits,
	expectations func(t *testing.T, closeErr error, whd *warehouse.MockWarehouseDriver),
	theProtocol protocol.Protocol,
	caseConfigF ...CaseConfigFunc,
)

func TestHitFour

func TestHitFour() *hits.Hit

TestHitFour returns a copy of the fourth test hit

func TestHitOne

func TestHitOne() *hits.Hit

TestHitOne returns a copy of the first test hit

func TestHitThree

func TestHitThree() *hits.Hit

TestHitThree returns a copy of the third test hit

func TestHitTwo

func TestHitTwo() *hits.Hit

TestHitTwo returns a copy of the second test hit

Types

type CaseConfig added in v0.6.0

type CaseConfig struct {
	// contains filtered or unexported fields
}

type CaseConfigFunc added in v0.6.0

type CaseConfigFunc func(t *testing.T, c *CaseConfig)

func EnsureEventName added in v0.17.0

func EnsureEventName(hitNum int, eventName string) CaseConfigFunc

func EnsureHeader added in v0.17.0

func EnsureHeader(hitNum int, header string, value string) CaseConfigFunc

func EnsureQueryParam

func EnsureQueryParam(hitNum int, param string, value string) CaseConfigFunc

func SetColumnsRegistry added in v0.6.0

func SetColumnsRegistry(columnsRegistry schema.ColumnsRegistry) CaseConfigFunc

func SetSplitterRegistry added in v0.10.0

func SetSplitterRegistry(splitterRegistry splitter.Registry) CaseConfigFunc

type TestHits

type TestHits []*hits.Hit

func (TestHits) EnsureHeader added in v0.17.0

func (t TestHits) EnsureHeader(hitNum int, header string, value string)

func (TestHits) EnsureQueryParam

func (t TestHits) EnsureQueryParam(hitNum int, param string, value string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL