test

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExpectHighlight

type ExpectHighlight struct {
	Highlighter highlight.Highlighter
	Field       string
	Result      string
}

type IntegrationTest

type IntegrationTest struct {
	Name     string
	DataLoad func(writer *bluge.Writer) error
	Tests    func() []*RequestVerify
}

type RequestVerify

type RequestVerify struct {
	Comment            string
	Request            bluge.SearchRequest
	Aggregations       search.Aggregations
	ExpectTotal        int
	ExpectMatches      []*match
	VerifyAggregations func(t *testing.T, bucket *search.Bucket)
}

Jump to

Keyboard shortcuts

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