Documentation
¶
Index ¶
- func AssertEmptyDir(t *testing.T, dir string)
- func AssertFileData(t *testing.T, filePath string, data []byte)
- func AssertFileExists(t *testing.T, filePath string)
- func AssertFileNotExists(t *testing.T, filePath string)
- func AssertSingleDirFile(t *testing.T, dir string, fileName string)
- func AssertSingleDirFileData(t *testing.T, dir string, fileName string, data []byte)
- func TouchFile(t *testing.T, filePath string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertEmptyDir ¶
AssertEmptyDir asserts dir emptiness.
func AssertFileData ¶
AssertFileData asserts file content.
func AssertFileExists ¶
AssertFileExists asserts file presence.
func AssertFileNotExists ¶
AssertFileNotExists asserts file absence.
func AssertSingleDirFile ¶
AssertSingleDirFile assert that directory has given file only.
func AssertSingleDirFileData ¶
AssertSingleDirFileData asserts that directory has given file only with specified content.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.