test

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestConfig

type TestConfig struct{}

func NewTestConfig

func NewTestConfig() *TestConfig

func (*TestConfig) Get

func (t *TestConfig) Get(keys ...TestConfigKey) (val string)

func (*TestConfig) GetOrAbort

func (t *TestConfig) GetOrAbort(testing *testing.T, keys ...TestConfigKey) (val string)

func (*TestConfig) GetOrSkip

func (t *TestConfig) GetOrSkip(testing *testing.T, keys ...TestConfigKey) (val string)

func (*TestConfig) GetPagerDutyAPIKeyorAbort

func (t *TestConfig) GetPagerDutyAPIKeyorAbort(testing *testing.T) (val string)

func (*TestConfig) GetUserEmailOrAbort

func (t *TestConfig) GetUserEmailOrAbort(testing *testing.T) (val string)

func (*TestConfig) SkipUnlessAccTest

func (t *TestConfig) SkipUnlessAccTest(testing *testing.T)

type TestConfigKey

type TestConfigKey int
const (
	TestConfigAccountAccessToken TestConfigKey = iota
	TestConfigAcceptanceTestKey
	TestConfigPagerDutyAPIKey
	TestConfigUserEmailKey
)

func (TestConfigKey) String

func (k TestConfigKey) String() (name string)

Jump to

Keyboard shortcuts

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