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 ais executable failed.File- Author:
- Olivier Demeijer
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static StringSHOULD_BE_EXECUTABLE-
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format, formatter
-
-
Constructor Summary
Constructors Modifier Constructor Description privateShouldBeExecutable(File actual)privateShouldBeExecutable(Path actual)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ErrorMessageFactoryshouldBeExecutable(File actual)Creates a new.ShouldBeExecutablestatic ErrorMessageFactoryshouldBeExecutable(Path actual)-
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
-
-
-
Field Detail
-
SHOULD_BE_EXECUTABLE
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)
-
-