|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of FileAssert in org.fest.assertions |
---|
Methods in org.fest.assertions that return FileAssert | |
---|---|
FileAssert |
FileAssert.as(Description description)
Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails. |
FileAssert |
FileAssert.as(String description)
Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails. |
static FileAssert |
Assertions.assertThat(File actual)
Creates a new instance of . |
FileAssert |
FileAssert.describedAs(Description description)
Alias for , since "as" is a keyword in
Groovy. |
FileAssert |
FileAssert.describedAs(String description)
Alias for , since "as" is a keyword in
Groovy. |
FileAssert |
FileAssert.doesNotExist()
Verifies that the actual File does not exist. |
FileAssert |
FileAssert.doesNotSatisfy(Condition<File> condition)
Verifies that the actual File does not satisfy the given condition. |
FileAssert |
FileAssert.exists()
Verifies that the actual File does exist. |
FileAssert |
FileAssert.hasSameContentAs(File expected)
Verifies that the content of the actual File is equal to the content of the given one. |
FileAssert |
FileAssert.hasSize(long expected)
Verifies that the size of the actual File is equal to the given one. |
FileAssert |
FileAssert.is(Condition<File> condition)
Verifies that the actual File satisfies the given condition. |
FileAssert |
FileAssert.isAbsolute()
Verifies that the actual File is an absolute path. |
FileAssert |
FileAssert.isDirectory()
Verifies that the actual File is a directory. |
FileAssert |
FileAssert.isEqualTo(File expected)
Verifies that the actual File is equal to the given one. |
FileAssert |
FileAssert.isFile()
Verifies that the actual File is a regular file. |
FileAssert |
FileAssert.isNot(Condition<File> condition)
Verifies that the actual File does not satisfy the given condition. |
FileAssert |
FileAssert.isNotEqualTo(File other)
Verifies that the actual File is not equal to the given one. |
FileAssert |
FileAssert.isNotNull()
Verifies that the actual File is not null . |
FileAssert |
FileAssert.isNotSameAs(File other)
Verifies that the actual File is not the same as the given one. |
FileAssert |
FileAssert.isRelative()
Verifies that the actual File is a relative path. |
FileAssert |
FileAssert.isSameAs(File expected)
Verifies that the actual File is the same as the given one. |
FileAssert |
FileAssert.overridingErrorMessage(String message)
Replaces the default message displayed in case of a failure with the given one. |
FileAssert |
FileAssert.satisfies(Condition<File> condition)
Verifies that the actual File satisfies the given condition. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |