Package org.assertj.core.error
Class ShouldHaveParent
- java.lang.Object
-
- org.assertj.core.error.BasicErrorMessageFactory
-
- org.assertj.core.error.ShouldHaveParent
-
- All Implemented Interfaces:
ErrorMessageFactory
public class ShouldHaveParent extends BasicErrorMessageFactory
Creates an error message indicating that aFileshould have a parent.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringFILE_NO_PARENTstatic java.lang.StringFILE_NOT_EXPECTED_PARENTstatic java.lang.StringPATH_NO_PARENTstatic java.lang.StringPATH_NOT_EXPECTED_PARENT-
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format, formatter
-
-
Constructor Summary
Constructors Modifier Constructor Description privateShouldHaveParent(java.io.File actual, java.io.File expected)privateShouldHaveParent(java.io.File actual, java.io.File actualParent, java.io.File expected)privateShouldHaveParent(java.nio.file.Path actual, java.nio.file.Path expected)privateShouldHaveParent(java.nio.file.Path actual, java.nio.file.Path actualParent, java.nio.file.Path expected)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ShouldHaveParentshouldHaveParent(java.io.File actual, java.io.File expected)static ShouldHaveParentshouldHaveParent(java.nio.file.Path actual, java.nio.file.Path expected)static ShouldHaveParentshouldHaveParent(java.nio.file.Path actual, java.nio.file.Path actualParent, java.nio.file.Path expected)-
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
-
-
-
Field Detail
-
PATH_NO_PARENT
public static final java.lang.String PATH_NO_PARENT
- See Also:
- Constant Field Values
-
PATH_NOT_EXPECTED_PARENT
public static final java.lang.String PATH_NOT_EXPECTED_PARENT
- See Also:
- Constant Field Values
-
FILE_NO_PARENT
public static final java.lang.String FILE_NO_PARENT
- See Also:
- Constant Field Values
-
FILE_NOT_EXPECTED_PARENT
public static final java.lang.String FILE_NOT_EXPECTED_PARENT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ShouldHaveParent
private ShouldHaveParent(java.io.File actual, java.io.File expected)
-
ShouldHaveParent
private ShouldHaveParent(java.io.File actual, java.io.File actualParent, java.io.File expected)
-
ShouldHaveParent
private ShouldHaveParent(java.nio.file.Path actual, java.nio.file.Path expected)
-
ShouldHaveParent
private ShouldHaveParent(java.nio.file.Path actual, java.nio.file.Path actualParent, java.nio.file.Path expected)
-
-
Method Detail
-
shouldHaveParent
public static ShouldHaveParent shouldHaveParent(java.io.File actual, java.io.File expected)
-
shouldHaveParent
public static ShouldHaveParent shouldHaveParent(java.nio.file.Path actual, java.nio.file.Path expected)
-
shouldHaveParent
public static ShouldHaveParent shouldHaveParent(java.nio.file.Path actual, java.nio.file.Path actualParent, java.nio.file.Path expected)
-
-