|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileVerification
Verification
interface of the FileService
.
Method Summary | |
---|---|
void |
assertAbsence(String filePath)
Expects a file to be absent. |
void |
assertDirectory(String filePath)
Asserts that the file object at the given location is a directory |
void |
assertFile(String filePath)
Asserts that the file object at the given location is not a directory |
void |
assertPresence(String filePath)
Expects a file to exist. |
Methods inherited from interface org.aludratest.service.Action |
---|
createAttachments, createDebugAttachments, setSystemConnector |
Method Detail |
---|
void assertPresence(String filePath)
filePath
- the path of the file of which to assert presence
org.aludratest.service.file.exception.FileAbsentException
- if the file was not found.void assertAbsence(String filePath)
filePath
- the path of the file of which to assert absence
org.aludratest.service.file.exception.FilePresentException
- if the file was encountered.void assertFile(String filePath)
filePath
-
org.aludratest.service.file.exception.NotAFileException
- if the file object located at the given path is a directoryvoid assertDirectory(String filePath)
filePath
-
org.aludratest.service.file.exception.NotADirectoryException
- if the file object located at the given path is not a directory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |