Documentation ¶
Index ¶
- func EqualTags(tags1, tags2 []storage.Tag) bool
- func ProviderClose(t *testing.T, provider storage.Provider)
- func ProviderGetOpenStores(t *testing.T, provider storage.Provider)
- func ProviderOpenStoreSetGetConfig(t *testing.T, provider storage.Provider)
- func PutData(t *testing.T, store storage.Store, keys []string, values [][]byte, ...)
- func PutGet(t *testing.T, provider storage.Provider)
- func RandomStoreName() string
- func StoreBatch(t *testing.T, provider storage.Provider)
- func StoreClose(t *testing.T, provider storage.Provider)
- func StoreDelete(t *testing.T, provider storage.Provider)
- func StoreFlush(t *testing.T, provider storage.Provider)
- func StoreGetBulk(t *testing.T, provider storage.Provider)
- func StoreGetTags(t *testing.T, provider storage.Provider)
- func StoreQuery(t *testing.T, provider storage.Provider)
- func StoreQueryWithSortingAndInitialPageOptions(t *testing.T, provider storage.Provider)
- func TestAll(t *testing.T, provider storage.Provider)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EqualTags ¶
EqualTags returns whether the given lists of tags contain the same tags, ignoring order.
func ProviderClose ¶
ProviderClose tests common Provider Close functionality.
func ProviderGetOpenStores ¶
ProviderGetOpenStores tests common Provider GetOpenStores functionality. This test assumes that the provider passed in has never had stores created under it before.
func ProviderOpenStoreSetGetConfig ¶
ProviderOpenStoreSetGetConfig tests common Provider OpenStore, SetStoreConfig, and GetStoreConfig functionality.
func PutData ¶
func PutData(t *testing.T, store storage.Store, keys []string, values [][]byte, tags [][]storage.Tag)
PutData puts the given data in the given store.
func StoreBatch ¶
StoreBatch tests common Store Batch functionality.
func StoreClose ¶
StoreClose tests common Store Close functionality.
func StoreDelete ¶
StoreDelete tests common Store Delete functionality.
func StoreFlush ¶
StoreFlush tests common Store Flush functionality.
func StoreGetBulk ¶
StoreGetBulk tests common Store GetBulk functionality.
func StoreGetTags ¶
StoreGetTags tests common Store GetTags functionality.
func StoreQuery ¶
StoreQuery tests common Store Query functionality.
func StoreQueryWithSortingAndInitialPageOptions ¶
StoreQueryWithSortingAndInitialPageOptions tests common Store Query functionality when the sorting and initial page options are used.
Types ¶
This section is empty.