crash.software
Projects
Pull Requests
Issues
Builds
dolt
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
dolt
Files
🤬
Sign In
9becfc9d
ROOT
/
go
/
libraries
/
doltcore
/
sqle
/
enginetest
/
dolt_harness.go
Search
History
489 lines
|
ISO-8859-1
|
16 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
DoltHarness
t
:
*testing.T
multiRepoEnv
:
*env.MultiRepoEnv
createdEnvs
:
map[string]*env.DoltEnv
session
:
*dsess.DoltSession
branchControl
:
*branch_control.Controller
databases
:
[]sqle.Database
hashes
:
[]string
parallelism
:
int
skippedQueries
:
[]string
setupData
:
[]setup.SetupScript
resetData
:
[]setup.SetupScript
initDbs
:
map[string]struct{}
autoInc
:
bool
engine
:
*gms.Engine
_
:
enginetest.Harness
_
:
enginetest.SkippingHarness
_
:
enginetest.ClientHarness
_
:
enginetest.IndexHarness
_
:
enginetest.VersionedDBHarness
_
:
enginetest.ForeignKeyHarness
_
:
enginetest.KeylessTableHarness
_
:
enginetest.ReadOnlyDatabaseHarness
_
:
enginetest.ValidatingHarness
newDoltHarness
(t *testing.T)
:
*DoltHarness
defaultSkippedQueries
commitScripts
(dbs []string)
:
[]setup.SetupScript
getDbState
(t *testing.T, db sqle.Database, dEnv *env.DoltEnv)
:
dsess.InitialDbState
dsqleDBsAsSqlDBs
(dbs []sqle.Database)
:
[]sql.Database
*DoltHarness
Setup
(setupData ...[]setup.SetupScript)
resetScripts
()
:
[]setup.SetupScript
NewEngine
(t *testing.T)
:
(*gms.Engine, error)
WithParallelism
(parallelism int)
:
*DoltHarness
WithSkippedQueries
(queries []string)
:
*DoltHarness
SkipQueryTest
(query string)
:
bool
Parallelism
()
:
int
NewContext
()
:
*sql.Context
NewContextWithClient
(client sql.Client)
:
*sql.Context
NewSession
()
:
*sql.Context
newSessionWithClient
(client sql.Client)
:
*dsess.DoltSession
SupportsNativeIndexCreation
()
:
bool
SupportsForeignKeys
()
:
bool
SupportsKeylessTables
()
:
bool
NewDatabase
(name string)
:
sql.Database
NewDatabases
(names ...string)
:
[]sql.Database
NewReadOnlyDatabases
(names ...string)
:
(dbs []sql.ReadOnlyDatabase)
NewDatabaseProvider
(dbs ...sql.Database)
:
sql.MutableDatabaseProvider
NewTable
(db sql.Database, name string, schema sql.PrimaryKeySchema)
:
(sql.Table, error)
NewTableAsOf
(db sql.VersionedDatabase, name string, schema sql.PrimaryKeySchema, asOf interface{})
:
sql.Table
SnapshotTable
(db sql.VersionedDatabase, name string, asOf interface{})
:
error
ValidateEngine
(ctx *sql.Context, e *gms.Engine)
:
(err error)
All occurrences
Please wait...
Page is in error, reload to recover