Package org.assertj.core.error
Class ShouldBeExecutable
- java.lang.Object
-
- org.assertj.core.error.BasicErrorMessageFactory
-
- org.assertj.core.error.ShouldBeExecutable
-
- All Implemented Interfaces:
ErrorMessageFactory
public class ShouldBeExecutable extends BasicErrorMessageFactory
Creates an error message indicating that an assertion that verifies that a
is executable failed.File
- Author:
- Olivier Demeijer
-
-
Field Summary
Fields Modifier and Type Field Description private static String
SHOULD_BE_EXECUTABLE
-
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format, formatter
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ShouldBeExecutable(File actual)
private
ShouldBeExecutable(Path actual)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ErrorMessageFactory
shouldBeExecutable(File actual)
Creates a new
.ShouldBeExecutable
static ErrorMessageFactory
shouldBeExecutable(Path actual)
-
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
-
-
-
Field Detail
-
SHOULD_BE_EXECUTABLE
private static final String SHOULD_BE_EXECUTABLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
shouldBeExecutable
public static ErrorMessageFactory shouldBeExecutable(File actual)
Creates a new
.ShouldBeExecutable
- Parameters:
actual
- the actual value in the failed assertion.- Returns:
- the created
ErrorMessageFactory
.
-
shouldBeExecutable
public static ErrorMessageFactory shouldBeExecutable(Path actual)
-
-