MCPcopy Create free account
hub / github.com/cloudflare/cfssl / TestSQLite

Function TestSQLite

certdb/sql/sql_test.go:37–44  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

35}
36
37func TestSQLite(t *testing.T) {
38 db := testdb.SQLiteDB(sqliteDBFile)
39 ta := TestAccessor{
40 Accessor: NewAccessor(db),
41 DB: db,
42 }
43 testEverything(ta, t)
44}
45
46// roughlySameTime decides if t1 and t2 are close enough.
47func roughlySameTime(t1, t2 time.Time) bool {

Callers

nothing calls this directly

Calls 3

SQLiteDBFunction · 0.92
NewAccessorFunction · 0.85
testEverythingFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…