Uses of Class
org.assertj.core.description.Description

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 Descriptable.as(String, Object...) since "as" is a keyword in Groovy.
 S AbstractAssert.describedAs(Description description)
          Alias for Descriptable.as(String, Object...) since "as" is a keyword in Groovy.
 S Descriptable.describedAs(Description description)
          Alias for Descriptable.as(String, Object...) 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 Description 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.
 AssertionError ShouldBeEqual.newAssertionError(Description description, Representation representation)
          Creates an AssertionError indicating that an assertion that verifies that two objects are equal failed.
The AssertionError 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).
 



Copyright © 2013–2015 AssertJ. All rights reserved.