Uses of Interface
org.fest.assertions.Description
-
Uses of Description in org.fest.assertions
Classes in org.fest.assertions that implement DescriptionFields in org.fest.assertions declared as DescriptionMethods in org.fest.assertions that return DescriptionModifier and TypeMethodDescriptionprotected final Description
Assert.rawDescription()
Returns the description of the actual value in this assertion.Methods in org.fest.assertions with parameters of type DescriptionModifier and TypeMethodDescriptionBigDecimalAssert.as
(Description description) Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails.AssertionError
BooleanArrayAssert.as
(Description description) Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails.AssertionError
BooleanAssert.as
(Description description) Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails.AssertionError
ByteArrayAssert.as
(Description description) Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails.AssertionError
ByteAssert.as
(Description description) Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails.AssertionError
CharArrayAssert.as
(Description description) Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails.AssertionError
CharAssert.as
(Description description) Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails.AssertionError
CollectionAssert.as
(Description description) Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails.AssertionError
DoubleArrayAssert.as
(Description description) Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails.AssertionError
DoubleAssert.as
(Description description) Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails.AssertionError
FileAssert.as
(Description description) Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails.AssertionError
FloatArrayAssert.as
(Description description) Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails.AssertionError
FloatAssert.as
(Description description) Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails.AssertionError
protected abstract GenericAssert<T>
GenericAssert.as
(Description description) Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails.AssertionError
protected abstract GroupAssert<T>
GroupAssert.as
(Description description) Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails.AssertionError
ImageAssert.as
(Description description) Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails.AssertionError
IntArrayAssert.as
(Description description) Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails.AssertionError
IntAssert.as
(Description description) Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails.AssertionError
ListAssert.as
(Description description) Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails.AssertionError
LongArrayAssert.as
(Description description) Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails.AssertionError
LongAssert.as
(Description description) Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails.AssertionError
MapAssert.as
(Description description) Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails.AssertionError
ObjectArrayAssert.as
(Description description) Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails.AssertionError
ObjectAssert.as
(Description description) Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails.AssertionError
protected abstract ObjectGroupAssert<T>
ObjectGroupAssert.as
(Description description) Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails.AssertionError
ShortArrayAssert.as
(Description description) Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails.AssertionError
ShortAssert.as
(Description description) Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails.AssertionError
StringAssert.as
(Description description) Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails.AssertionError
ThrowableAssert.as
(Description description) Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails.AssertionError
private static String
ErrorMessages.assertionFailed
(Description description, Object actual, String reason, Object expected) protected static AssertionError
Fail.comparisonFailed
(Description description, Object actual, Object expected) Returns a
describing a comparison failure.AssertionError
(package private) static String
Formatting.createMessageFrom
(Description description, Object[] message) BigDecimalAssert.describedAs
(Description description) Alias for
, since "as" is a keyword in Groovy.GenericAssert.as(Description)
BooleanArrayAssert.describedAs
(Description description) Alias for
, since "as" is a keyword in Groovy.GenericAssert.as(Description)
BooleanAssert.describedAs
(Description description) Alias for
, since "as" is a keyword in Groovy.GenericAssert.as(Description)
ByteArrayAssert.describedAs
(Description description) Alias for
, since "as" is a keyword in Groovy.GenericAssert.as(Description)
ByteAssert.describedAs
(Description description) Alias for
, since "as" is a keyword in Groovy.GenericAssert.as(Description)
CharArrayAssert.describedAs
(Description description) Alias for
, since "as" is a keyword in Groovy.CharArrayAssert.as(Description)
CharAssert.describedAs
(Description description) Alias for
, since "as" is a keyword in Groovy.GenericAssert.as(Description)
CollectionAssert.describedAs
(Description description) Alias for
, since "as" is a keyword in Groovy.GenericAssert.as(Description)
DoubleArrayAssert.describedAs
(Description description) Alias for
, since "as" is a keyword in Groovy.GenericAssert.as(Description)
DoubleAssert.describedAs
(Description description) Alias for
, since "as" is a keyword in Groovy.GenericAssert.as(Description)
FileAssert.describedAs
(Description description) Alias for
, since "as" is a keyword in Groovy.GenericAssert.as(Description)
FloatArrayAssert.describedAs
(Description description) Alias for
, since "as" is a keyword in Groovy.GenericAssert.as(Description)
FloatAssert.describedAs
(Description description) Alias for
, since "as" is a keyword in Groovy.GenericAssert.as(Description)
protected abstract GenericAssert<T>
GenericAssert.describedAs
(Description description) Alias for
, since "as" is a keyword in Groovy.GenericAssert.as(Description)
protected abstract GroupAssert<T>
GroupAssert.describedAs
(Description description) Alias for
, since "as" is a keyword in Groovy.GenericAssert.as(Description)
ImageAssert.describedAs
(Description description) Alias for
, since "as" is a keyword in Groovy.GenericAssert.as(Description)
IntArrayAssert.describedAs
(Description description) Alias for
, since "as" is a keyword in Groovy.GenericAssert.as(Description)
IntAssert.describedAs
(Description description) Alias for
, since "as" is a keyword in Groovy.GenericAssert.as(Description)
ListAssert.describedAs
(Description description) Alias for
, since "as" is a keyword in Groovy.GenericAssert.as(Description)
LongArrayAssert.describedAs
(Description description) Alias for
, since "as" is a keyword in Groovy.GenericAssert.as(Description)
LongAssert.describedAs
(Description description) Alias for
, since "as" is a keyword in Groovy.GenericAssert.as(Description)
MapAssert.describedAs
(Description description) Alias for
, since "as" is a keyword in Groovy.GenericAssert.as(Description)
ObjectArrayAssert.describedAs
(Description description) Alias for
, since "as" is a keyword in Groovy.GenericAssert.as(Description)
ObjectAssert.describedAs
(Description description) Alias for
, since "as" is a keyword in Groovy.GenericAssert.as(Description)
protected abstract ObjectGroupAssert<T>
ObjectGroupAssert.describedAs
(Description description) Alias for
, since "as" is a keyword in Groovy.GenericAssert.as(Description)
ShortArrayAssert.describedAs
(Description description) Alias for
, since "as" is a keyword in Groovy.GenericAssert.as(Description)
ShortAssert.describedAs
(Description description) Alias for
, since "as" is a keyword in Groovy.GenericAssert.as(Description)
StringAssert.describedAs
(Description description) Alias for
, since "as" is a keyword in Groovy.GenericAssert.as(Description)
ThrowableAssert.describedAs
(Description description) Alias for
, since "as" is a keyword in Groovy.GenericAssert.as(Description)
protected final void
Assert.description
(Description d) Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails.AssertionError
private static void
Fail.fail
(Description description, Object[] message) protected static void
Fail.failIfActualIsNull
(String customErrorMessage, Description description, Object actual) Throws an
if the actual value isAssertionError
null
.protected static void
Fail.failIfEqual
(String customErrorMessage, Description descriptionOfActual, Object actual, Object other) Throws an
if the given objects are equal.AssertionError
protected static void
Fail.failIfNotEqual
(String customErrorMessage, Description descriptionOfActual, Object actual, Object expected) Throws an
if 'actual' is not equal to 'expected'.AssertionError
protected static void
Fail.failIfNotNull
(String customErrorMessage, Description description, Object o) Throws an
if the given object is notAssertionError
null
.protected static void
Fail.failIfNotSame
(String customErrorMessage, Description descriptionOfActual, Object actual, Object other) Throws an
if the given objects are not the same.AssertionError
protected static void
Fail.failIfNull
(String customErrorMessage, Description description, Object o) Throws an
if the given object isAssertionError
null
.protected static void
Fail.failIfSame
(String customErrorMessage, Description descriptionOfActual, Object actual, Object other) Throws an
if the given objects are the same.AssertionError
static String
Formatting.format
(Description description, String message) Returns the given message formatted as follows:(package private) static String
ErrorMessages.unexpectedNullType
(Description description) static String
Formatting.valueOf
(Description description) Returns the value of the given
.Description