Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
NULL_LOCAL_DATE_TIME_PARAMETER_MESSAGE |
"The LocalDate to compare actual with should not be null" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
NULL_LOCAL_DATE_TIME_PARAMETER_MESSAGE |
"The LocalDateTime to compare actual with should not be null" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
NULL_LOCAL_TIME_PARAMETER_MESSAGE |
"The LocalTime to compare actual with should not be null" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
NULL_OFFSET_DATE_TIME_PARAMETER_MESSAGE |
"The OffsetDateTime to compare actual with should not be null" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
NULL_OFFSET_TIME_PARAMETER_MESSAGE |
"The OffsetTime to compare actual with should not be null" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
NULL_DATE_TIME_PARAMETER_MESSAGE |
"The ZonedDateTime to compare actual with should not be null" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
SHOULD_BE_ABSOLUTE_PATH |
"%nExpecting:%n <%s>%nto be an absolute path." |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
SHOULD_BE_CANONICAL |
"%nExpecting:%n <%s>%nto be a canonical path" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
FILE_SHOULD_BE_DIRECTORY |
"%nExpecting file:%n <%s>%n to be an existing directory." |
public static final String |
PATH_SHOULD_BE_DIRECTORY |
"%nExpecting path:%n <%s>%nto be a directory." |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
SHOULD_BE_NORMALIZED |
"Expected path:%n <%s>%nto be normalized." |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
SHOULD_BE_REGULAR_FILE |
"%nExpecting path:%n <%s>%nto be a regular file." |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
SHOULD_BE_RELATIVE_PATH |
"%nExpecting:%n <%s>%nto be a relative path." |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
SHOULD_BE_SYMBOLIC_LINK |
"%nExpecting path:%n <%s>%nto be a symbolic link." |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
PATH_SHOULD_END_WITH |
"%nExpected path:%n <%s>%nto end with:%n <%s>%nbut it did not." |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
FILE_SHOULD_EXIST |
"%nExpecting file:%n <%s>%nto exist." |
public static final String |
PATH_SHOULD_EXIST |
"%nExpecting path:%n <%s>%nto exist (symbolic links were followed)." |
public static final String |
PATH_SHOULD_EXIST_NO_FOLLOW_LINKS |
"%nExpecting path:%n <%s>%nto exist (symbolic links were not followed)." |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
FILE_HAS_PARENT |
"%nExpecting file (or directory):%n <%s>%nnot to have a parent, but parent was:%n <%s>" |
public static final String |
PATH_HAS_PARENT |
"%nExpected actual path:%n <%s>%n not to have a parent, but parent was:%n <%s>" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
FILE_NO_PARENT |
"%nExpecting file%n <%s>%nto have parent:%n <%s>%nbut did not have one." |
public static final String |
FILE_NOT_EXPECTED_PARENT |
"%nExpecting file%n <%s>%nto have parent:%n <%s>%nbut had:%n <%s>." |
public static final String |
PATH_NO_PARENT |
"%nExpecting path%n <%s>%nto have parent:%n <%s>%nbut did not have one." |
public static final String |
PATH_NOT_EXPECTED_PARENT |
"%nExpecting path%n <%s>%nto have parent:%n <%s>%nbut had:%n <%s>." |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
ADVICE |
"\n\nYou can use \'matches(Predicate p, String description)\' to have a better error message\nFor example:\n assertThat(player).matches(p -> p.isRookie(), \"is rookie\");\nwill give an error message looking like:\n\nExpecting:\n <player>\nto match \'is rookie\' predicate" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
FILE_SHOULD_NOT_EXIST |
"%nExpecting file:%n <%s>%nnot to exist" |
public static final String |
PATH_SHOULD_NOT_EXIST |
"%nExpecting path:%n <%s>%nnot to exist" |
public static final String |
PATH_SHOULD_NOT_EXIST_NO_FOLLOW_LINKS |
"%nExpecting path:%n <%s>%nnot to exist (symbolic links were not followed)." |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
PATH_SHOULD_START_WITH |
"%nExpected path:%n <%s>%nto start with:%n <%s>%nbut it did not." |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
IOERROR_FORMAT |
"I/O error attempting to process assertion for path: <%s>" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
BYTE_PREFIX |
"0b" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
NIBBLE_SIZE |
4 |
public static final String |
PREFIX |
"0x" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
HASH_CODE_PRIME |
31 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
ARGUMENT_EMPTY |
"Argument expected not to be empty!" |
Copyright © 2014-2015 AssertJ. All Rights Reserved.