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