Files.
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public AbstractByteArrayAssert | Returns: aAbstractByteArrayAssert object with the binary content of the file.Returns |
| public SELF | Returns: this assertion object.Verifies that the actual |
| public SELF | Returns: this assertion object.Verifies that the actual |
| public AbstractStringAssert | |
| public AbstractStringAssert | |
| public SELF | |
| public SELF | Returns: this assertion object.Verifies that the actual |
| public SELF | Returns: this assertion object.the expected binary content to compare the actual expected)File's content to.Verifies that the binary content of the actual |
| public SELF | Returns: this assertion object.the expected text content to compare the actual expected)File's content to.Verifies that the text content of the actual |
| public SELF | Returns: this assertion object.the given expected)File to compare the actual File to.
Deprecated
use
Verifies that the content of the actual hasSameTextualContentAs(File) instead
File is equal to the content of the given one.
|
| public SELF | Returns: this assertion object.the MessageDigest used to calculate the digests. digest, byte[] the expected binary content to compare the actual expected)File's content to.Verifies that the tested |
| public SELF | Returns: this assertion object.the MessageDigest used to calculate the digests. digest, String the expected binary content to compare the actual expected)File's content to.Verifies that the tested |
| public SELF | |
| public SELF | |
| public SELF | Returns: this assertion object.the expected extension, it does not contain the expected)'.'Verifies that the actual |
| public SELF | Returns: this assertion object.the expected expected)File name.Verifies that the actual |
| public SELF | |
| public SELF | |
| public SELF | |
| public SELF | |
| public SELF | Returns: this assertion object.the expected parent file path. expected)Same as Example:
|
| public SELF | Returns: this assertion object.the given expected)File to compare the actual File to.Verifies that the content of the actual |
| public SELF | Returns: this assertion object.the given expected)File to compare the actual File to.
Deprecated
use
hasSameTextualContentAs(File) instead.
|
| public SELF | Returns: this assertion object.the given expected, Charset File to compare the actual File to.the expectedCharset)Charset used to read the content of the expected file.
Deprecated
use
Verifies that the content of the actual hasSameTextualContentAs(File, Charset) instead
File is the same as the expected one, the expected File being read with the given charset while
the charset used to read the actual path can be provided with usingCharset(Charset) or
usingCharset(String) prior to calling this method; if not, the platform's default charset (as returned by
Charset#defaultCharset()) will be used.
|
| public SELF | Returns: this assertion object.the given expected)File to compare the actual File to.Verifies that the content of the actual |
| public SELF | Returns: this assertion object.the given expected, Charset File to compare the actual File to.the expectedCharset)Charset used to read the content of the expected file.Verifies that the content of the actual |
| public SELF | Returns: this assertion object.the expected expectedSizeInBytes)File's size in bytes.Verifies that the size of the |
| private AbstractStringAssert | |
| public SELF | |
| public SELF | |
| public SELF | Returns: this assertion object.the filter for files located inside filter)actual's directory.Verify that the actual |
| public SELF | Returns: this assertion object.the syntax and pattern for syntaxAndPattern)java. as described in FileSystem#getPathMatcher(String).Verify that the actual |
| public SELF | Returns: this assertion object.the filter for files located inside filter)actual's directory.Verify that the actual |
| public SELF | Returns: this assertion object.the syntax and pattern for syntaxAndPattern)java. as described in FileSystem#getPathMatcher(String).Verify that the actual |
| public SELF | Returns: this assertion object.the syntax and pattern for syntaxAndPattern)java. as described in FileSystem#getPathMatcher(String).Verify that the actual |
| public SELF | Returns: this assertion object.the filter for files located inside filter)actual's directory.Verify that the actual |
| public SELF | Returns: this assertion object.Verify that the actual |
| public SELF | |
| public SELF | |
| public SELF | |
| public SELF | Returns: this assertion object.Verify that the actual |
| public SELF | Returns: this assertion object.Verify that the actual |
| public SELF | Returns: this assertion object.Verifies that the actual Example:
|
| public SELF | |
| public SELF | Returns: this assertion object.Verifies that the actual |
| private byte[] | |
| private String | |
| public AbstractFileSizeAssert | |
| public SELF | Returns: this assertion object.the name of the charset to use. charsetName)Specifies the name of the charset to use for text-based assertions on the file's contents. |
| public SELF | Returns: this assertion object.the charset to use. charset)Specifies the charset to use for text-based assertions on the file's contents. |