tests

package
v1.3.172 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertEqualFileText

func AssertEqualFileText(t *testing.T, expectedFile string, actualFile string) error

func AssertFileContains

func AssertFileContains(t *testing.T, fileName string, containsText string)

AssertFileContains asserts that a given file exists and contains the given text

func AssertFileDoesNotExist

func AssertFileDoesNotExist(t *testing.T, fileName string) bool

AssertFileDoesNotExist asserts that the given file does not exist

func AssertFileExists

func AssertFileExists(t *testing.T, fileName string) bool

AssertFileExists asserts that the given file exists

func AssertFilesExist

func AssertFilesExist(t *testing.T, expected bool, paths ...string)

AssertFilesExist asserts that the list of file paths either exist or don't exist

func AssertLoadFileText

func AssertLoadFileText(t *testing.T, fileName string) (string, error)

func Debugf

func Debugf(message string, args ...interface{})

func IsDebugLog

func IsDebugLog() bool

func Output

func Output() io.Writer

Output returns the output to use for tests

func TestShouldDisableMaven

func TestShouldDisableMaven() bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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