Documentation ¶
Index ¶
- func CreateTempOutTxtFile(t *testing.T, testdir, name string) *os.File
- func FullTestFilePath(t *testing.T, testdir, name string) string
- func IsSub(base, path string) bool
- func IsValidTestSubPath(t *testing.T, path string) bool
- func MkTestTmpDir(t *testing.T, testdir, name string) string
- func ReadTestFile(testdir, name string) ([]byte, error)
- func ReadTestPNGFile(t *testing.T, testdir, name string) []byte
- func RemoveTestFiles(dir string, f *os.File) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTempOutTxtFile ¶
CreateTempOutTxtFile creates a temporary file for writing the outputs.
func MkTestTmpDir ¶
MkTestTmpDir creates a temporary directiory for output files.
func ReadTestFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.