Documentation ¶
Index ¶
- func NewRunStoreTest(name string, crf CreateRunStoreFunc, drf DestroyRunStoreFunc) func(*testing.T)
- func NewStoreTest(name string, cf CreateStoreFunc, df DestroyStoreFunc, funcNames ...string) func(t *testing.T)
- type CreateRunStoreFunc
- type CreateStoreFunc
- type DestroyRunStoreFunc
- type DestroyStoreFunc
- type TestFunc
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 DestroyRunStoreFunc ¶
type TestFunc ¶
type TestFunc func(*testing.T, CreateStoreFunc, DestroyStoreFunc)
Click to show internal directories.
Click to hide internal directories.