Uses of Class
org.fest.assertions.description.Description
-
Packages that use Description Package Description org.fest.assertions.api org.fest.assertions.core org.fest.assertions.description org.fest.assertions.error -
-
Uses of Description in org.fest.assertions.api
Methods in org.fest.assertions.api with parameters of type Description Modifier and Type Method Description S
AbstractAssert. as(Description description)
Sets the description of this object.S
AbstractAssert. describedAs(Description description)
Alias for
since "as" is a keyword in Groovy.Descriptable.as(String)
-
Uses of Description in org.fest.assertions.core
Methods in org.fest.assertions.core that return Description Modifier and Type Method 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.fest.assertions.core with parameters of type Description Modifier and Type Method Description Condition<T>
Condition. as(Description newDescription)
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.Descriptable.as(String)
S
Descriptable. describedAs(Description description)
Alias for
since "as" is a keyword in Groovy.Descriptable.as(String)
void
WritableAssertionInfo. description(Description newDescription)
Sets the description of an assertion.Constructors in org.fest.assertions.core with parameters of type Description Constructor Description Condition(Description description)
Creates a newCondition
. -
Uses of Description in org.fest.assertions.description
Subclasses of Description in org.fest.assertions.description Modifier and Type Class Description class
EmptyTextDescription
A description containing empty text.class
TextDescription
A text-based description.Methods in org.fest.assertions.description that return Description Modifier and Type Method Description static Description
EmptyTextDescription. emptyText()
-
Uses of Description in org.fest.assertions.error
Methods in org.fest.assertions.error with parameters of type Description Modifier and Type Method Description java.lang.String
AbstractShouldHaveTextContent. create(Description d)
java.lang.String
BasicErrorMessageFactory. create(Description d)
Creates a new error message as a result of a failed assertion.java.lang.String
ErrorMessageFactory. create(Description d)
Creates a new error message as a result of a failed assertion.java.lang.String
ShouldNotBeEmpty. create(Description d)
Creates a new error message as a result of a failed assertion.java.lang.String
ShouldNotBeEqualImages. create(Description d)
Creates a new error message as a result of a failed assertion.java.lang.String
ShouldNotBeNull. create(Description d)
Creates a new error message as a result of a failed assertion.java.lang.String
DescriptionFormatter. format(Description d)
Formats the given
by surrounding its text value with square brackets and adding a space at the end.Description
java.lang.String
MessageFormatter. format(Description d, java.lang.String format, java.lang.Object... args)
Interprets a printf-style formatString
for failed assertion messages.java.lang.AssertionError
AssertionErrorFactory. newAssertionError(Description d)
Creates an
.AssertionError
java.lang.AssertionError
ShouldBeEqual. newAssertionError(Description description)
Creates an
indicating that an assertion that verifies that two objects are equal failed.AssertionError
The
message is built so that it differentiatesAssertionError
ShouldBeEqual.actual
andShouldBeEqual.expected
description in case their string representation are the same (like 42 float and 42 double).
-