dbtest

package
v1.14.1-db-metrics-fix Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2025 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Tests = []struct {
	Name string
	Test func(t *testing.T, newDB func() database.HeightIndex)
}{
	{"TestPutGet", TestPutGet},
	{"TestHas", TestHas},
	{"TestCloseAndPut", TestCloseAndPut},
	{"TestCloseAndGet", TestCloseAndGet},
	{"TestCloseAndHas", TestCloseAndHas},
	{"TestClose", TestClose},
}

Tests is a list of all database tests

Functions

func TestClose

func TestClose(t *testing.T, newDB func() database.HeightIndex)

func TestCloseAndGet

func TestCloseAndGet(t *testing.T, newDB func() database.HeightIndex)

func TestCloseAndHas

func TestCloseAndHas(t *testing.T, newDB func() database.HeightIndex)

func TestCloseAndPut

func TestCloseAndPut(t *testing.T, newDB func() database.HeightIndex)

func TestHas

func TestHas(t *testing.T, newDB func() database.HeightIndex)

func TestPutGet

func TestPutGet(t *testing.T, newDB func() database.HeightIndex)

Types

This section is empty.

Jump to

Keyboard shortcuts

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