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

public Class ShouldBeWritable

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 is writable 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.
shouldBeWritable
(File
the actual value in the failed assertion.
actual
)

Creates a new ShouldBeWritable.

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

Field Detail

SHOULD_BE_WRITABLEback to summary
pack-priv static final String SHOULD_BE_WRITABLE

Constructor Detail

ShouldBeWritableback to summary
private ShouldBeWritable(File actual)
ShouldBeWritableback to summary
private ShouldBeWritable(Path actual)

Method Detail

shouldBeWritableback to summary
public static ErrorMessageFactory shouldBeWritable(File actual)

Creates a new ShouldBeWritable.

Parameters
actual:File

the actual value in the failed assertion.

Returns:ErrorMessageFactory

the created ErrorMessageFactory.

shouldBeWritableback to summary
public static ErrorMessageFactory shouldBeWritable(Path actual)