utils

package
v0.12.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertContainsError added in v0.12.4

func AssertContainsError(t *testing.T, conn *mysql.Conn, query, expected string)

func AssertFoundRowsValue

func AssertFoundRowsValue(t *testing.T, conn *mysql.Conn, query, workload string, count int)

func AssertIsEmpty

func AssertIsEmpty(t *testing.T, conn *mysql.Conn, query string)

func AssertMatches

func AssertMatches(t *testing.T, conn *mysql.Conn, query, expected string)

func AssertMatchesNoOrder

func AssertMatchesNoOrder(t *testing.T, conn *mysql.Conn, query, expected string)

func AssertResultIsEmpty

func AssertResultIsEmpty(t *testing.T, conn *mysql.Conn, pre string)

func AssertSingleRowIsReturned

func AssertSingleRowIsReturned(t *testing.T, conn *mysql.Conn, predicate string, expectedKs string)

func Exec

func Exec(t *testing.T, conn *mysql.Conn, query string) *sqltypes.Result

func ExecAllowError added in v0.12.4

func ExecAllowError(t *testing.T, conn *mysql.Conn, query string) (*sqltypes.Result, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL