| 
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Description | |
|---|---|
| org.hamcrest | The stable API defining Matcher and its associated interfaces and classes. | 
| org.hamcrest.core | Fundamental matchers of objects and values, and composite matchers. | 
| Uses of Description in org.hamcrest | 
|---|
| Classes in org.hamcrest that implement Description | |
|---|---|
 class | 
BaseDescription
A Description that is stored as a string. | 
static class | 
Description.NullDescription
 | 
 class | 
StringDescription
A Description that is stored as a string. | 
| Fields in org.hamcrest declared as Description | |
|---|---|
static Description | 
Description.NONE
A description that consumes input but does nothing.  | 
| Methods in org.hamcrest that return Description | ||
|---|---|---|
 Description | 
Description.appendDescriptionOf(SelfDescribing value)
Appends the description of a SelfDescribing value to this description. | 
|
 Description | 
Description.NullDescription.appendDescriptionOf(SelfDescribing value)
 | 
|
 Description | 
BaseDescription.appendDescriptionOf(SelfDescribing value)
 | 
|
 Description | 
Description.appendList(String start,
                     String separator,
                     String end,
                     Iterable<? extends SelfDescribing> values)
Appends a list of SelfDescribing objects
 to the description. | 
|
 Description | 
Description.NullDescription.appendList(String start,
                     String separator,
                     String end,
                     Iterable<? extends SelfDescribing> values)
 | 
|
 Description | 
BaseDescription.appendList(String start,
                     String separator,
                     String end,
                     Iterable<? extends SelfDescribing> values)
 | 
|
 Description | 
Description.appendText(String text)
Appends some plain text to the description.  | 
|
 Description | 
Description.NullDescription.appendText(String text)
 | 
|
 Description | 
BaseDescription.appendText(String text)
 | 
|
 Description | 
Description.appendValue(Object value)
Appends an arbitary value to the description.  | 
|
 Description | 
Description.NullDescription.appendValue(Object value)
 | 
|
 Description | 
BaseDescription.appendValue(Object value)
 | 
|
 | 
Description.appendValueList(String start,
                               String separator,
                               String end,
                               Iterable<T> values)
Appends a list of values to the description.  | 
|
 | 
Description.NullDescription.appendValueList(String start,
                               String separator,
                               String end,
                               Iterable<T> values)
 | 
|
 | 
BaseDescription.appendValueList(String start,
                               String separator,
                               String end,
                               Iterable<T> values)
 | 
|
 | 
Description.appendValueList(String start,
                               String separator,
                               String end,
                               T... values)
Appends a list of values to the description.  | 
|
 | 
Description.NullDescription.appendValueList(String start,
                               String separator,
                               String end,
                               T... values)
 | 
|
 | 
BaseDescription.appendValueList(String start,
                               String separator,
                               String end,
                               T... values)
 | 
|
| Methods in org.hamcrest with parameters of type Description | ||
|---|---|---|
 Condition<O> | 
Condition.Step.apply(I value,
           Description mismatch)
 | 
|
 void | 
TypeSafeMatcher.describeMismatch(Object item,
                                 Description description)
 | 
|
 void | 
TypeSafeDiagnosingMatcher.describeMismatch(Object item,
                                 Description mismatchDescription)
 | 
|
 void | 
Matcher.describeMismatch(Object item,
                                 Description mismatchDescription)
Generate a description of why the matcher has not accepted the item.  | 
|
 void | 
DiagnosingMatcher.describeMismatch(Object item,
                                 Description mismatchDescription)
 | 
|
 void | 
BaseMatcher.describeMismatch(Object item,
                                 Description description)
 | 
|
protected  void | 
TypeSafeMatcher.describeMismatchSafely(T item,
                                             Description mismatchDescription)
Subclasses should override this.  | 
|
 void | 
SelfDescribing.describeTo(Description description)
Generates a description of the object.  | 
|
 void | 
FeatureMatcher.describeTo(Description description)
 | 
|
 void | 
CustomTypeSafeMatcher.describeTo(Description description)
 | 
|
 void | 
CustomMatcher.describeTo(Description description)
 | 
|
static
 | 
Condition.matched(T theValue,
               Description mismatch)
 | 
|
protected abstract  boolean | 
DiagnosingMatcher.matches(Object item,
               Description mismatchDescription)
 | 
|
protected abstract  boolean | 
TypeSafeDiagnosingMatcher.matchesSafely(T item,
                           Description mismatchDescription)
Subclasses should implement this.  | 
|
protected  boolean | 
FeatureMatcher.matchesSafely(T actual,
                           Description mismatch)
 | 
|
| Uses of Description in org.hamcrest.core | 
|---|
| Methods in org.hamcrest.core with parameters of type Description | |
|---|---|
 void | 
Is.describeMismatch(Object item,
                                 Description mismatchDescription)
 | 
 void | 
DescribedAs.describeMismatch(Object item,
                                 Description description)
 | 
 void | 
SubstringMatcher.describeMismatchSafely(String item,
                                             Description mismatchDescription)
 | 
 void | 
SubstringMatcher.describeTo(Description description)
 | 
 void | 
IsSame.describeTo(Description description)
 | 
 void | 
IsNull.describeTo(Description description)
 | 
 void | 
IsNot.describeTo(Description description)
 | 
 void | 
IsInstanceOf.describeTo(Description description)
 | 
 void | 
IsEqual.describeTo(Description description)
 | 
 void | 
IsCollectionContaining.describeTo(Description description)
 | 
 void | 
IsAnything.describeTo(Description description)
 | 
 void | 
Is.describeTo(Description description)
 | 
 void | 
Every.describeTo(Description description)
 | 
 void | 
DescribedAs.describeTo(Description description)
 | 
 void | 
CombinableMatcher.describeTo(Description description)
 | 
 void | 
AnyOf.describeTo(Description description)
 | 
 void | 
AllOf.describeTo(Description description)
 | 
protected  boolean | 
IsInstanceOf.matches(Object item,
               Description mismatch)
 | 
 boolean | 
AllOf.matches(Object o,
               Description mismatch)
 | 
protected  boolean | 
IsCollectionContaining.matchesSafely(Iterable<? super T> collection,
                           Description mismatchDescription)
 | 
 boolean | 
Every.matchesSafely(Iterable<T> collection,
                           Description mismatchDescription)
 | 
protected  boolean | 
CombinableMatcher.matchesSafely(T item,
                           Description mismatch)
 | 
  | 
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||