storetest

package
v0.0.0-...-d500d3c Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2019 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRunStoreTest

func NewRunStoreTest(name string, crf CreateRunStoreFunc, drf DestroyRunStoreFunc) func(*testing.T)

func NewStoreTest

func NewStoreTest(name string, cf CreateStoreFunc, df DestroyStoreFunc, funcNames ...string) func(t *testing.T)

NewStoreTest creates a test function for a given store.

Types

type CreateRunStoreFunc

type CreateRunStoreFunc func(*testing.T) (backend.LogWriter, backend.LogReader)

type CreateStoreFunc

type CreateStoreFunc func(*testing.T) backend.Store

type DestroyRunStoreFunc

type DestroyRunStoreFunc func(*testing.T, backend.LogWriter, backend.LogReader)

type DestroyStoreFunc

type DestroyStoreFunc func(*testing.T, backend.Store)

type TestFunc

type TestFunc func(*testing.T, CreateStoreFunc, DestroyStoreFunc)

Jump to

Keyboard shortcuts

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