MCPcopy Create free account
hub / github.com/CPChain/chain / TestLDBTableParallelFuncs

Function TestLDBTableParallelFuncs

database/leveldb_test.go:121–129  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

119}
120
121func TestLDBTableParallelFuncs(t *testing.T) {
122 db, remove := newTestLDB()
123 defer remove()
124
125 tbl := database.NewTable(db, "foobar")
126 defer tbl.Close()
127
128 testParallelDBFuncs(tbl, t)
129}
130
131func TestLDBTableBatch(t *testing.T) {
132 db, remove := newTestLDB()

Callers

nothing calls this directly

Calls 3

newTestLDBFunction · 0.85
testParallelDBFuncsFunction · 0.85
CloseMethod · 0.65

Tested by

no test coverage detected