dstest

package
Version: v2.4.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TestError = errors.New("test error")
)

Functions

func Err

func Err(err error, t *testing.T, msgs ...string)

func False

func False(v bool, t *testing.T, msgs ...string)

func NewTestDatastore added in v1.4.0

func NewTestDatastore(testErrors bool) *testDatastore

func Nil

func Nil(err error, t *testing.T, msgs ...string)

func RunBatchDeleteTest

func RunBatchDeleteTest(t *testing.T, ds dstore.Batching)

func RunBatchTest

func RunBatchTest(t *testing.T, ds dstore.Batching)

func SubtestBasicPutGet added in v1.2.1

func SubtestBasicPutGet(t *testing.T, ds dstore.Datastore)

func SubtestManyKeysAndQuery added in v1.2.1

func SubtestManyKeysAndQuery(t *testing.T, ds dstore.Datastore)

func SubtestNotFounds added in v1.2.1

func SubtestNotFounds(t *testing.T, ds dstore.Datastore)

func True

func True(v bool, t *testing.T, msgs ...string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL