MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / TestScan

Function TestScan

scan_test.go:14–26  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

12)
13
14func TestScan(t *testing.T) {
15 c := getTestConn()
16
17 ctx := context.Background()
18
19 c.FlushAll(ctx)
20 testKVScan(t, c)
21 testHashKeyScan(t, c)
22 testListKeyScan(t, c)
23 testZSetKeyScan(t, c)
24 testSetKeyScan(t, c)
25 c.FlushAll(ctx)
26}
27
28func checkScanValues(t *testing.T, ay interface{}, values ...interface{}) {
29 a, ok := ay.([]interface{})

Callers

nothing calls this directly

Calls 6

getTestConnFunction · 0.85
testKVScanFunction · 0.85
testHashKeyScanFunction · 0.85
testListKeyScanFunction · 0.85
testZSetKeyScanFunction · 0.85
testSetKeyScanFunction · 0.85

Tested by

no test coverage detected