test

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestConcatTx

func TestConcatTx(t *testing.T, sto db.Storage)

TestConcatTx checks that the implementation of the db.Storage interface behaves as expected

func TestIterate

func TestIterate(t *testing.T, sto db.Storage)

TestIterate checks that the implementation of the db.Storage interface behaves as expected for the Iterate method

func TestList

func TestList(t *testing.T, sto db.Storage)

TestList checks that the implementation of the db.Storage interface behaves as expected

func TestReturnKnownErrIfNotExists

func TestReturnKnownErrIfNotExists(t *testing.T, sto db.Storage)

TestReturnKnownErrIfNotExists checks that the implementation of the db.Storage interface returns the expected error in the case that the value is not found

func TestStorageInsertGet

func TestStorageInsertGet(t *testing.T, sto db.Storage)

TestStorageInsertGet checks that the implementation of the db.Storage interface behaves as expected

func TestStorageWithPrefix

func TestStorageWithPrefix(t *testing.T, sto db.Storage)

TestStorageWithPrefix checks that the implementation of the db.Storage interface behaves as expected for the WithPrefix method

Types

This section is empty.

Jump to

Keyboard shortcuts

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