MCPcopy Create free account
hub / github.com/distributedio/titan / setValue

Function setValue

db/string_test.go:19–26  ·  view source on GitHub ↗
(t *testing.T, TestKey []byte, value []byte)

Source from the content-addressed store, hash-verified

17}
18
19func setValue(t *testing.T, TestKey []byte, value []byte) {
20 callFunc := func(txn *Transaction) {
21 s, err := GetString(txn, TestKey)
22 assert.NoError(t, err)
23 err = s.Set(value)
24 }
25 MockTest(t, callFunc)
26}
27
28func getValue(t *testing.T, key []byte, value []byte) {
29 callFunc := func(txn *Transaction) {

Callers 6

TestStringGetFunction · 0.85
TestStringLenFunction · 0.85
TestStringExistFunction · 0.85
TestStringAppendFunction · 0.85
TestStringGetSetFunction · 0.85
TestStringSetRangeFunction · 0.85

Calls 3

GetStringFunction · 0.85
MockTestFunction · 0.85
SetMethod · 0.65

Tested by

no test coverage detected