Documentation ¶
Index ¶
- func AssertEqualFileText(t *testing.T, expectedFile string, actualFile string) error
- func AssertFileContains(t *testing.T, fileName string, containsText string)
- func AssertFileDoesNotExist(t *testing.T, fileName string) bool
- func AssertFileExists(t *testing.T, fileName string) bool
- func AssertFilesExist(t *testing.T, expected bool, paths ...string)
- func AssertLoadFileText(t *testing.T, fileName string) (string, error)
- func CreateAuthConfigService() auth.AuthConfigService
- func Debugf(message string, args ...interface{})
- func IsDebugLog() bool
- func NewTerminal(t *testing.T) (*expect.Console, *vt10x.State, *terminal.Stdio)
- func Output() terminal.FileWriter
- func TestCloser(t *testing.T, closer io.Closer)
- func TestShouldDisableMaven() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertEqualFileText ¶ added in v1.3.148
func AssertFileContains ¶ added in v1.3.24
AssertFileContains asserts that a given file exists and contains the given text
func AssertFileDoesNotExist ¶ added in v1.3.24
AssertFileDoesNotExist asserts that the given file does not exist
func AssertFileExists ¶ added in v1.3.24
AssertFileExists asserts that the given file exists
func AssertFilesExist ¶ added in v1.3.24
AssertFilesExist asserts that the list of file paths either exist or don't exist
func AssertLoadFileText ¶ added in v1.3.148
func CreateAuthConfigService ¶ added in v1.3.291
func CreateAuthConfigService() auth.AuthConfigService
CreateAuthConfigService creates and returns a fixture AuthConfigService
func NewTerminal ¶ added in v1.3.291
NewTerminal mock terminal to control stdin and stdout
func TestCloser ¶ added in v1.3.291
TestCloser closes io
func TestShouldDisableMaven ¶ added in v1.2.121
func TestShouldDisableMaven() bool
TestShouldDisableMaven should disable maven
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.