- fileShouldContain
void fileShouldContain(string fileName, string needle, string file, size_t line)
Undocumented in source. Be warned that the author may not have intended to support it.
- inSandboxPath
string inSandboxPath(string fileName)
Undocumented in source. Be warned that the author may not have intended to support it.
- sandboxPath
string sandboxPath()
Undocumented in source. Be warned that the author may not have intended to support it.
- shouldEqualContent
void shouldEqualContent(string fileName, string content, string file, size_t line)
read a file in the test sandbox and verify its contents
- shouldEqualLines
void shouldEqualLines(string fileName, string[] lines, string file, size_t line)
read a file in the test sandbox and verify its contents
- shouldExist
void shouldExist(string fileName, string file, size_t line)
Assert that a file exists in the sandbox
- shouldFail
void shouldFail(string[] args)
Executing args should fail
- shouldNotExist
void shouldNotExist(string fileName, string file, size_t line)
Assert that a file does not exist in the sandbox
- shouldSucceed
void shouldSucceed(string[] args)
Executing args should succeed
- writeFile
void writeFile(string fileName, string output)
Write a file to the sandbox
- writeFile
void writeFile(string fileName, string[] lines)
Write a file to the sanbox
Responsible for creating a temporary directory to serve as a sandbox where files can be created, written to or deleted.