public class ShouldHaveParent extends BasicErrorMessageFactory
File
should have a parent.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FILE_NO_PARENT |
static java.lang.String |
FILE_NOT_EXPECTED_PARENT |
static java.lang.String |
PATH_NO_PARENT |
static java.lang.String |
PATH_NOT_EXPECTED_PARENT |
arguments, format, formatter
Modifier | Constructor and Description |
---|---|
private |
ShouldHaveParent(java.io.File actual,
java.io.File expected) |
private |
ShouldHaveParent(java.io.File actual,
java.io.File actualParent,
java.io.File expected) |
private |
ShouldHaveParent(java.nio.file.Path actual,
java.nio.file.Path expected) |
private |
ShouldHaveParent(java.nio.file.Path actual,
java.nio.file.Path actualParent,
java.nio.file.Path expected) |
Modifier and Type | Method and Description |
---|---|
static ShouldHaveParent |
shouldHaveParent(java.io.File actual,
java.io.File expected) |
static ShouldHaveParent |
shouldHaveParent(java.nio.file.Path actual,
java.nio.file.Path expected) |
static ShouldHaveParent |
shouldHaveParent(java.nio.file.Path actual,
java.nio.file.Path actualParent,
java.nio.file.Path expected) |
create, create, create, equals, hashCode, toString, unquotedString
public static final java.lang.String PATH_NO_PARENT
public static final java.lang.String PATH_NOT_EXPECTED_PARENT
public static final java.lang.String FILE_NO_PARENT
public static final java.lang.String FILE_NOT_EXPECTED_PARENT
private ShouldHaveParent(java.io.File actual, java.io.File expected)
private ShouldHaveParent(java.io.File actual, java.io.File actualParent, java.io.File expected)
private ShouldHaveParent(java.nio.file.Path actual, java.nio.file.Path expected)
private ShouldHaveParent(java.nio.file.Path actual, java.nio.file.Path actualParent, java.nio.file.Path expected)
public static ShouldHaveParent shouldHaveParent(java.io.File actual, java.io.File expected)
public static ShouldHaveParent shouldHaveParent(java.nio.file.Path actual, java.nio.file.Path expected)
public static ShouldHaveParent shouldHaveParent(java.nio.file.Path actual, java.nio.file.Path actualParent, java.nio.file.Path expected)