|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Description | |
|---|---|
| org.assertj.core.api | |
| org.assertj.core.description | |
| org.assertj.core.error | |
| Uses of Description in org.assertj.core.api |
|---|
| Methods in org.assertj.core.api that return Description | |
|---|---|
Description |
AssertionInfo.description()
Returns the description of an assertion. |
Description |
Condition.description()
Returns the description of this condition. |
Description |
WritableAssertionInfo.description()
Returns the description of an assertion. |
| Methods in org.assertj.core.api with parameters of type Description | |
|---|---|
Condition<T> |
Condition.as(Description newDescription)
Sets the description of this object. |
S |
AbstractAssert.as(Description description)
Sets the description of this object. |
S |
Descriptable.as(Description description)
Sets the description of this object. |
Condition<T> |
Condition.describedAs(Description newDescription)
Alias for since "as" is a keyword in Groovy. |
S |
AbstractAssert.describedAs(Description description)
Alias for since "as" is a keyword in Groovy. |
S |
Descriptable.describedAs(Description description)
Alias for since "as" is a keyword in Groovy. |
void |
WritableAssertionInfo.description(Description newDescription)
Sets the description of an assertion. |
| Constructors in org.assertj.core.api with parameters of type Description | |
|---|---|
Condition(Description description)
Creates a new Condition. |
|
| Uses of Description in org.assertj.core.description |
|---|
| Subclasses of Description in org.assertj.core.description | |
|---|---|
class |
EmptyTextDescription
A description containing empty text. |
class |
TextDescription
A text-based description. |
| Methods in org.assertj.core.description that return Description | |
|---|---|
static Description |
EmptyTextDescription.emptyText()
|
| Uses of Description in org.assertj.core.error |
|---|
| Methods in org.assertj.core.error with parameters of type Description | |
|---|---|
String |
AbstractShouldHaveTextContent.create(Description d,
Representation representation)
|
String |
ErrorMessageFactory.create(Description d,
Representation p)
Creates a new error message as a result of a failed assertion. |
String |
BasicErrorMessageFactory.create(Description d,
Representation representation)
Creates a new error message as a result of a failed assertion. |
String |
DescriptionFormatter.format(Description d)
Formats the given by surrounding its text value with square brackets and adding a space at
the end. |
String |
MessageFormatter.format(Description d,
Representation p,
String format,
Object... args)
Interprets a printf-style format String for failed assertion messages. |
AssertionError |
AssertionErrorFactory.newAssertionError(Description d,
Representation representation)
Creates an . |
AssertionError |
ShouldBeEqual.newAssertionError(Description description,
Representation representation)
Creates an indicating that an assertion that verifies that two objects are
equal failed.The message is built so that it differentiates ShouldBeEqual.actual and
ShouldBeEqual.expected description in case their string representation are the same (like 42 float and 42 double). |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||