Uses of Class
org.fest.assertions.description.Description
Packages that use Description
Package
Description
-
Uses of Description in org.fest.assertions.api
Methods in org.fest.assertions.api with parameters of type DescriptionModifier and TypeMethodDescriptionAbstractAssert.as(Description description) Sets the description of this object.AbstractAssert.describedAs(Description description) Alias forsince "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 DescriptionModifier and TypeMethodDescriptionAssertionInfo.description()Returns the description of an assertion.Condition.description()Returns the description of this condition.WritableAssertionInfo.description()Returns the description of an assertion.Methods in org.fest.assertions.core with parameters of type DescriptionModifier and TypeMethodDescriptionCondition.as(Description newDescription) Sets the description of this object.Descriptable.as(Description description) Sets the description of this object.Condition.describedAs(Description newDescription) Alias forsince "as" is a keyword in Groovy.Descriptable.as(String)Descriptable.describedAs(Description description) Alias forsince "as" is a keyword in Groovy.Descriptable.as(String)voidWritableAssertionInfo.description(Description newDescription) Sets the description of an assertion.Constructors in org.fest.assertions.core with parameters of type Description -
Uses of Description in org.fest.assertions.description
Subclasses of Description in org.fest.assertions.descriptionModifier and TypeClassDescriptionclassA description containing empty text.classA text-based description.Methods in org.fest.assertions.description that return Description -
Uses of Description in org.fest.assertions.error
Methods in org.fest.assertions.error with parameters of type DescriptionModifier and TypeMethodDescriptionAbstractShouldHaveTextContent.create(Description d) BasicErrorMessageFactory.create(Description d) Creates a new error message as a result of a failed assertion.ErrorMessageFactory.create(Description d) Creates a new error message as a result of a failed assertion.ShouldNotBeEmpty.create(Description d) Creates a new error message as a result of a failed assertion.ShouldNotBeEqualImages.create(Description d) Creates a new error message as a result of a failed assertion.ShouldNotBeNull.create(Description d) Creates a new error message as a result of a failed assertion.DescriptionFormatter.format(Description d) Formats the givenby surrounding its text value with square brackets and adding a space at the end.DescriptionMessageFormatter.format(Description d, String format, Object... args) Interprets a printf-style formatStringfor failed assertion messages.AssertionErrorFactory.newAssertionError(Description d) Creates an.AssertionErrorShouldBeEqual.newAssertionError(Description description) Creates anindicating that an assertion that verifies that two objects are equal failed.AssertionError
Themessage is built so that it differentiatesAssertionErrorShouldBeEqual.actualandShouldBeEqual.expecteddescription in case their string representation are the same (like 42 float and 42 double).