test

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2020 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