Versions in this module Expand all Collapse all v1 v1.0.0 Oct 16, 2017 Changes in this version + func Rows(args ...string) [][]interface + type Result struct + func (res *Result) Check(expected [][]interface{}) + func (res *Result) Rows() [][]interface{} + func (res *Result) Sort() *Result + type TestKit struct + Se tidb.Session + func NewTestKit(c *check.C, store kv.Storage) *TestKit + func NewTestKitWithInit(c *check.C, store kv.Storage) *TestKit + func (tk *TestKit) CheckExecResult(affectedRows, insertID int64) + func (tk *TestKit) Exec(sql string, args ...interface{}) (ast.RecordSet, error) + func (tk *TestKit) MustExec(sql string, args ...interface{}) + func (tk *TestKit) MustQuery(sql string, args ...interface{}) *Result