test

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CheckFailedError = errors.New("Check failed")
)

Functions

func Commit

func Commit(t *testing.T, tx *sql.Tx)

func Execute

func Execute(t *testing.T, tx *sql.Tx, stmt string) (rowsAffected int64)

func False

func False(p *schema.Provider, cb func(*sql.Tx) (bool, error)) resource.TestCheckFunc

func HCLProviderFromConf

func HCLProviderFromConf(dsn *exasol.DSNConfig) string

func True

func True(p *schema.Provider, cb func(*sql.Tx) (bool, error)) resource.TestCheckFunc

Types

type DefaultAccProviders

type DefaultAccProviders struct {
	Exasol    *schema.Provider
	Factories map[string]func() (*schema.Provider, error)
}

func NewDefaultAccProviders added in v0.0.15

func NewDefaultAccProviders() DefaultAccProviders

type ObjectTest

type ObjectTest struct {
	ResourceName string
	DbName       string
	Stmt         string
	Config       string
}

Jump to

Keyboard shortcuts

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