testutils

package
v0.0.0-...-34e5abb Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2015 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunTestAtomic

func RunTestAtomic(t *testing.T, kv store.Store)

RunTestAtomic tests the Atomic operations by the K/V backends

func RunTestCommon

func RunTestCommon(t *testing.T, kv store.Store)

RunTestCommon tests the minimal required APIs which should be supported by all K/V backends

func RunTestLock

func RunTestLock(t *testing.T, kv store.Store)

RunTestLock tests the KV pair Lock/Unlock APIs supported by the K/V backends.

func RunTestTTL

func RunTestTTL(t *testing.T, kv store.Store, backup store.Store)

RunTestTTL tests the TTL funtionality of the K/V backend.

func RunTestWatch

func RunTestWatch(t *testing.T, kv store.Store)

RunTestWatch tests the watch/monitor APIs supported by the K/V backends.

Types

This section is empty.

Jump to

Keyboard shortcuts

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