Top Description Fields Constructors Methods
org.assertj.core.error

public Class ShouldBeReadable

extends BasicErrorMessageFactory
Class Inheritance
Imports
java.io.File, java.nio.file.Path

Creates an error message indicating that an assertion that verifies that a File or a a Path is readable failed.
Author
Olivier Demeijer

Field Summary

Modifier and TypeField and Description
pack-priv static final String
Inherited from org.assertj.core.error.BasicErrorMessageFactory:
argumentsformatformatter

Constructor Summary

AccessConstructor and Description
private
private

Method Summary

Modifier and TypeMethod and Description
public static ErrorMessageFactory

Returns:

the created ErrorMessageFactory.
shouldBeReadable
(File
the actual value in the failed assertion.
actual
)

Creates a new ShouldBeReadable.

public static ErrorMessageFactory
Inherited from org.assertj.core.error.BasicErrorMessageFactory:
createcreatecreateequalshashCodetoStringunquotedString

Field Detail

SHOULD_BE_READABLEback to summary
pack-priv static final String SHOULD_BE_READABLE

Constructor Detail

ShouldBeReadableback to summary
private ShouldBeReadable(File actual)
ShouldBeReadableback to summary
private ShouldBeReadable(Path actual)

Method Detail

shouldBeReadableback to summary
public static ErrorMessageFactory shouldBeReadable(File actual)

Creates a new ShouldBeReadable.

Parameters
actual:File

the actual value in the failed assertion.

Returns:ErrorMessageFactory

the created ErrorMessageFactory.

shouldBeReadableback to summary
public static ErrorMessageFactory shouldBeReadable(Path actual)