package testutils
import "github.com/docker/libkv/testutils"
Index ¶
- func RunCleanup(t *testing.T, kv store.Store)
- func RunTestAtomic(t *testing.T, kv store.Store)
- func RunTestCommon(t *testing.T, kv store.Store)
- func RunTestLock(t *testing.T, kv store.Store)
- func RunTestLockTTL(t *testing.T, kv store.Store, backup store.Store)
- func RunTestTTL(t *testing.T, kv store.Store, backup store.Store)
- func RunTestWatch(t *testing.T, kv store.Store)
Functions ¶
func RunCleanup ¶
RunCleanup cleans up keys introduced by the tests
func RunTestAtomic ¶
RunTestAtomic tests the Atomic operations by the K/V backends
func RunTestCommon ¶
RunTestCommon tests the minimal required APIs which should be supported by all K/V backends
func RunTestLock ¶
RunTestLock tests the KV pair Lock/Unlock APIs supported by the K/V backends.
func RunTestLockTTL ¶
RunTestLockTTL tests the KV pair Lock with TTL APIs supported by the K/V backends.
func RunTestTTL ¶
RunTestTTL tests the TTL functionality of the K/V backend.
func RunTestWatch ¶
RunTestWatch tests the watch/monitor APIs supported by the K/V backends.
Source Files ¶
- Version
- v0.2.1 (latest)
- Published
- Jul 20, 2016
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 3 weeks ago –
Tools for package owners.