Package org.assertj.core.api
Class FileAssert
- java.lang.Object
-
- org.assertj.core.api.AbstractAssert<SELF,java.io.File>
-
- org.assertj.core.api.AbstractFileAssert<FileAssert>
-
- org.assertj.core.api.FileAssert
-
- All Implemented Interfaces:
Assert<FileAssert,java.io.File>
,Descriptable<FileAssert>
,ExtensionPoints<FileAssert,java.io.File>
public class FileAssert extends AbstractFileAssert<FileAssert>
Assertion methods forFile
s.To create a new instance of this class, invoke
.Assertions.assertThat(File)
-
-
Field Summary
-
Fields inherited from class org.assertj.core.api.AbstractFileAssert
charset, files
-
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, assertionErrorCreator, conditions, info, myself, objects, throwUnsupportedExceptionOnEquals
-
-
Constructor Summary
Constructors Constructor Description FileAssert(java.io.File actual)
-
Method Summary
-
Methods inherited from class org.assertj.core.api.AbstractFileAssert
canRead, canWrite, doesNotExist, exists, hasBinaryContent, hasContent, hasContentEqualTo, hasDigest, hasDigest, hasDigest, hasDigest, hasExtension, hasName, hasNoParent, hasParent, hasParent, hasSameBinaryContentAs, hasSameContentAs, hasSameContentAs, hasSameTextualContentAs, hasSameTextualContentAs, hasSize, isAbsolute, isDirectory, isDirectoryContaining, isDirectoryContaining, isDirectoryNotContaining, isDirectoryNotContaining, isDirectoryRecursivelyContaining, isDirectoryRecursivelyContaining, isEmpty, isEmptyDirectory, isFile, isNotEmpty, isNotEmptyDirectory, isRelative, usingCharset, usingCharset
-
Methods inherited from class org.assertj.core.api.AbstractAssert
asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isElementOfCustomAssert, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOf, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingRecursiveComparison, usingRecursiveComparison, withAssertionState, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnError
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.assertj.core.api.Descriptable
as, as, as, describedAs
-
-