columntests

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2025 License: MIT Imports: 13 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 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) 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