test

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2018 License: MPL-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) GetAnyOrganizationOrSkip

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

func (*TestConfig) GetNonAdminUserOrAbort

func (t *TestConfig) GetNonAdminUserOrAbort(testing *testing.T) (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) GetOrganizationOrAbort

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

func (*TestConfig) GetOrganizationOrSkip

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

func (*TestConfig) GetSlugIDOrAbort

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

func (*TestConfig) GetSlugIDOrSkip

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

func (*TestConfig) GetSpaceOrganizationOrSkip

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

func (*TestConfig) GetUserOrAbort

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

func (*TestConfig) GetUserOrSkip

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

func (*TestConfig) SkipUnlessAccTest

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

type TestConfigKey

type TestConfigKey int
const (
	TestConfigUserKey TestConfigKey = iota
	TestConfigAcceptanceTestKey
	TestConfigNonAdminUserKey
	TestConfigAPIKey
	TestConfigOrganizationKey
	TestConfigSpaceOrganizationKey
	TestConfigSlugIDKey
)

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