_engines_test

package
v0.31.1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckImageSearch added in v0.28.5

func CheckImageSearch(t *testing.T, e scraper.ImageSearcher, tchar []TestCaseHasAnyResults, tccr []TestCaseContainsResults, tcrr []TestCaseRankedResults)

func CheckSearch added in v0.28.5

func CheckSuggest added in v0.22.0

func CheckSuggest(t *testing.T, e scraper.Suggester, q string)

func NewConfig

func NewConfig(seName engines.Name) config.Config

func NewOpts

func NewOpts() options.Options

Types

type TestCaseContainsResults

type TestCaseContainsResults struct {
	Query      string
	ResultURLs []string
	Options    options.Options
}

type TestCaseHasAnyResults

type TestCaseHasAnyResults struct {
	Query   string
	Options options.Options
}

type TestCaseRankedResults

type TestCaseRankedResults struct {
	Query      string
	ResultURLs []string
	Options    options.Options
}

Jump to

Keyboard shortcuts

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