v1tests

package
v2.0.7 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LosAngeles = mustParseLocation("America/Los_Angeles")

Functions

func OpenServer

func OpenServer(t *testing.T, extra ...launcher.OptSetter) *tests.DefaultPipeline

Types

type Query

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

func (*Query) Execute

func (q *Query) Execute(ctx context.Context, t *testing.T, db string, c *tests.Client) (err error)

Execute runs the command and returns an err if it fails

type Test

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

func NewEmptyTest

func NewEmptyTest() Test

NewEmptyTest creates an empty test without a default database and retention policy mapping or any expected writes.

func NewTest

func NewTest(db, rp string) Test

func (*Test) Run

func (qt *Test) Run(ctx context.Context, t *testing.T, p *tests.DefaultPipeline)

type Write

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

type Writes

type Writes []*Write

Jump to

Keyboard shortcuts

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