Documentation
¶
Index ¶
- Variables
- func TestClose(t *testing.T, newDB func() database.HeightIndex)
- func TestCloseAndGet(t *testing.T, newDB func() database.HeightIndex)
- func TestCloseAndHas(t *testing.T, newDB func() database.HeightIndex)
- func TestCloseAndPut(t *testing.T, newDB func() database.HeightIndex)
- func TestHas(t *testing.T, newDB func() database.HeightIndex)
- func TestPutGet(t *testing.T, newDB func() database.HeightIndex)
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 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 TestPutGet ¶
func TestPutGet(t *testing.T, newDB func() database.HeightIndex)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.