test

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AccProvider      *schema.Provider
	CheckFailedError = errors.New("Check failed")
	// DefaultAccProviders are all Providers AKA exasol
	DefaultAccProviders map[string]*schema.Provider
)

Functions

func Commit

func Commit(t *testing.T, c internal.Conn)

func Execute

func Execute(t *testing.T, c internal.Conn, stmt string) map[string]interface{}

func False

func False(cb func(internal.Conn) (bool, error)) resource.TestCheckFunc

func HCLProviderFromConf

func HCLProviderFromConf(conf *exasol.ConnConf) string

func True

func True(cb func(internal.Conn) (bool, error)) resource.TestCheckFunc

Types

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