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
3bbc0e65
ROOT
/
integration-tests
/
go-sql-server-driver
/
testdef.go
Search
History
519 lines
|
ISO-8859-1
|
13 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
TestDef
Tests
:
[]Test
Test
Name
:
string
Repos
:
[]TestRepo
MultiRepos
:
[]MultiRepo
Conns
:
[]Connection
Skip
:
string
Run
(t *testing.T)
Connection
On
:
string
Queries
:
[]Query
RestartServer
:
*RestartArgs
RetryAttempts
:
int
User
:
string
Pass
:
string
PassFile
:
string
DriverParams
:
map[string]string
Password
()
:
(string, error)
RestartArgs
Args
:
*[]string
TestRepo
Name
:
string
WithFiles
:
[]WithFile
WithRemotes
:
[]WithRemote
Server
:
*Server
MultiRepo
Name
:
string
Repos
:
[]TestRepo
WithFiles
:
[]WithFile
Server
:
*Server
WithRemote
Name
:
string
URL
:
string
WithFile
Name
:
string
Contents
:
string
SourcePath
:
string
WriteAtDir
(dir string)
:
error
Server
Name
:
string
Args
:
[]string
Port
:
int
LogMatches
:
[]string
ErrorMatches
:
[]string
Query
Query
:
string
Exec
:
string
Args
:
[]string
Result
:
QueryResult
ErrorMatch
:
string
RetryAttempts
:
int
QueryResult
Columns
:
[]string
Rows
:
ResultRows
ResultRows
Or
:
*[][][]string
ParseTestsFile
(path string)
:
(TestDef, error)
MakeRepo
(t *testing.T, rs RepoStore, r TestRepo)
:
Repo
MakeServer
(t *testing.T, dc DoltCmdable, s *Server)
:
*SqlServer
RunTestsFile
(t *testing.T, path string)
retryTestingT
testing.T
errorfStrings
:
[]string
errorfArgs
:
[][]interface{}
failNow
:
bool
RetryTestRun
(t *testing.T, attempts int, test func(require.TestingT))
RunQuery
(t *testing.T, conn *sql.Conn, q Query)
RunQueryAttempt
(t require.TestingT, conn *sql.Conn, q Query)
RowsToStrings
(cols int, rows *sql.Rows)
:
([][]string, error)
*ResultRows
UnmarshalYAML
(value *yaml.Node)
:
error
*retryTestingT
Errorf
(format string, args ...interface{})
FailNow
()
try
(attempts int, test func(require.TestingT))
All occurrences
Please wait...
Page is in error, reload to recover