(t testing.TB, debugOnDisk bool, opts ...TestRegistryOption)
| 111 | } |
| 112 | |
| 113 | func NewSqliteTestRegistry(t testing.TB, debugOnDisk bool, opts ...TestRegistryOption) *RegistryDefault { |
| 114 | mode := dbx.SQLiteMemory |
| 115 | if debugOnDisk { |
| 116 | mode = dbx.SQLiteDebug |
| 117 | } |
| 118 | return NewTestRegistry(t, dbx.GetSqlite(t, mode), opts...) |
| 119 | } |
| 120 | |
| 121 | func NewCRDBTestRegistry(t testing.TB) *RegistryDefault { |
| 122 | var buf [20]byte |