Package org.assertj.core.api
Class FileAssert
- java.lang.Object
-
- org.assertj.core.api.AbstractAssert<SELF,File>
-
- org.assertj.core.api.AbstractFileAssert<FileAssert>
-
- org.assertj.core.api.FileAssert
-
- All Implemented Interfaces:
Assert<FileAssert,File>
,Descriptable<FileAssert>
,ExtensionPoints<FileAssert,File>
public class FileAssert extends AbstractFileAssert<FileAssert>
Assertion methods forFile
s.To create a new instance of this class, invoke
.Assertions.assertThat(File)
- Author:
- David DIDIER, Yvonne Wang, Alex Ruiz, Olivier Michallat, Olivier Demeijer, Mikhail Mazursky
-
-
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, customRepresentation, info, myself, objects, printAssertionsDescription, throwUnsupportedExceptionOnEquals
-
-
Constructor Summary
Constructors Constructor Description FileAssert(File actual)
-
Method Summary
-
Methods inherited from class org.assertj.core.api.AbstractFileAssert
canRead, canWrite, content, content, doesNotExist, exists, hasBinaryContent, hasContent, hasContentEqualTo, hasDigest, hasDigest, hasDigest, hasDigest, hasExtension, hasFileName, hasName, hasNoExtension, hasNoParent, hasParent, hasParent, hasSameBinaryContentAs, hasSameContentAs, hasSameContentAs, hasSameTextualContentAs, hasSameTextualContentAs, hasSize, isAbsolute, isDirectory, isDirectoryContaining, isDirectoryContaining, isDirectoryNotContaining, isDirectoryNotContaining, isDirectoryRecursivelyContaining, isDirectoryRecursivelyContaining, isEmpty, isEmptyDirectory, isFile, isNotEmpty, isNotEmptyDirectory, isReadable, isRelative, isWritable, 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, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOfForProxy, 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
-
-
-
-
Constructor Detail
-
FileAssert
public FileAssert(File actual)
-
-