Uses of Interface
org.hamcrest.Description
-
Packages that use Description Package Description org.hamcrest The stable API defining Matcher and its associated interfaces and classes.org.hamcrest.beans Matchers of Java Bean properties and their values.org.hamcrest.collection Matchers of arrays and collections.org.hamcrest.core Fundamental matchers of objects and values, and composite matchers.org.hamcrest.internal org.hamcrest.number Matchers that perform numeric comparisons.org.hamcrest.object Matchers that inspect objects and classes.org.hamcrest.text Matchers that perform text comparisons.org.hamcrest.xml Matchers of XML documents. -
-
Uses of Description in org.hamcrest
Classes in org.hamcrest that implement Description Modifier and Type Class Description classBaseDescriptionADescriptionthat is stored as a string.static classDescription.NullDescriptionclassStringDescriptionADescriptionthat is stored as a string.Fields in org.hamcrest declared as Description Modifier and Type Field Description static DescriptionDescription. NONEA description that consumes input but does nothing.Methods in org.hamcrest that return Description Modifier and Type Method Description DescriptionBaseDescription. appendDescriptionOf(SelfDescribing value)DescriptionDescription. appendDescriptionOf(SelfDescribing value)Appends the description of aSelfDescribingvalue to this description.DescriptionDescription.NullDescription. appendDescriptionOf(SelfDescribing value)DescriptionBaseDescription. appendList(java.lang.String start, java.lang.String separator, java.lang.String end, java.lang.Iterable<? extends SelfDescribing> values)DescriptionDescription. appendList(java.lang.String start, java.lang.String separator, java.lang.String end, java.lang.Iterable<? extends SelfDescribing> values)Appends a list ofSelfDescribingobjects to the description.DescriptionDescription.NullDescription. appendList(java.lang.String start, java.lang.String separator, java.lang.String end, java.lang.Iterable<? extends SelfDescribing> values)DescriptionBaseDescription. appendText(java.lang.String text)DescriptionDescription. appendText(java.lang.String text)Appends some plain text to the description.DescriptionDescription.NullDescription. appendText(java.lang.String text)DescriptionBaseDescription. appendValue(java.lang.Object value)DescriptionDescription. appendValue(java.lang.Object value)Appends an arbitary value to the description.DescriptionDescription.NullDescription. appendValue(java.lang.Object value)<T> DescriptionBaseDescription. appendValueList(java.lang.String start, java.lang.String separator, java.lang.String end, java.lang.Iterable<T> values)<T> DescriptionBaseDescription. appendValueList(java.lang.String start, java.lang.String separator, java.lang.String end, T... values)<T> DescriptionDescription. appendValueList(java.lang.String start, java.lang.String separator, java.lang.String end, java.lang.Iterable<T> values)Appends a list of values to the description.<T> DescriptionDescription. appendValueList(java.lang.String start, java.lang.String separator, java.lang.String end, T... values)Appends a list of values to the description.<T> DescriptionDescription.NullDescription. appendValueList(java.lang.String start, java.lang.String separator, java.lang.String end, java.lang.Iterable<T> values)<T> DescriptionDescription.NullDescription. appendValueList(java.lang.String start, java.lang.String separator, java.lang.String end, T... values)Methods in org.hamcrest with parameters of type Description Modifier and Type Method Description Condition<O>Condition.Step. apply(I value, Description mismatch)voidBaseMatcher. describeMismatch(java.lang.Object item, Description description)voidDiagnosingMatcher. describeMismatch(java.lang.Object item, Description mismatchDescription)voidMatcher. describeMismatch(java.lang.Object item, Description mismatchDescription)Generate a description of why the matcher has not accepted the item.voidTypeSafeDiagnosingMatcher. describeMismatch(java.lang.Object item, Description mismatchDescription)voidTypeSafeMatcher. describeMismatch(java.lang.Object item, Description description)protected voidTypeSafeMatcher. describeMismatchSafely(T item, Description mismatchDescription)Subclasses should override this.voidCustomMatcher. describeTo(Description description)voidCustomTypeSafeMatcher. describeTo(Description description)voidFeatureMatcher. describeTo(Description description)voidSelfDescribing. describeTo(Description description)Generates a description of the object.static <T> Condition<T>Condition. matched(T theValue, Description mismatch)protected abstract booleanDiagnosingMatcher. matches(java.lang.Object item, Description mismatchDescription)protected booleanFeatureMatcher. matchesSafely(T actual, Description mismatch)protected abstract booleanTypeSafeDiagnosingMatcher. matchesSafely(T item, Description mismatchDescription)Subclasses should implement this. -
Uses of Description in org.hamcrest.beans
Methods in org.hamcrest.beans with parameters of type Description Modifier and Type Method Description voidHasProperty. describeMismatchSafely(T item, Description mismatchDescription)voidHasProperty. describeTo(Description description)voidHasPropertyWithValue. describeTo(Description description)voidSamePropertyValuesAs. describeTo(Description description)voidSamePropertyValuesAs.PropertyMatcher. describeTo(Description description)booleanSamePropertyValuesAs.PropertyMatcher. matches(java.lang.Object actual, Description mismatch)booleanHasPropertyWithValue. matchesSafely(T bean, Description mismatch)booleanSamePropertyValuesAs. matchesSafely(T bean, Description mismatch) -
Uses of Description in org.hamcrest.collection
Methods in org.hamcrest.collection with parameters of type Description Modifier and Type Method Description voidIsArray. describeMismatchSafely(T[] actual, Description mismatchDescription)voidIsArrayContaining. describeMismatchSafely(T[] item, Description mismatchDescription)voidIsArrayContainingInAnyOrder. describeMismatchSafely(E[] item, Description mismatchDescription)voidIsArrayContainingInOrder. describeMismatchSafely(E[] item, Description mismatchDescription)voidIsEmptyCollection. describeMismatchSafely(java.util.Collection<? extends E> item, Description mismatchDescription)voidIsEmptyIterable. describeMismatchSafely(java.lang.Iterable<? extends E> iter, Description mismatchDescription)voidIsMapContaining. describeMismatchSafely(java.util.Map<? extends K,? extends V> map, Description mismatchDescription)voidIsArray. describeTo(Description description)voidIsArrayContaining. describeTo(Description description)voidIsArrayContainingInAnyOrder. describeTo(Description description)voidIsArrayContainingInOrder. describeTo(Description description)voidIsEmptyCollection. describeTo(Description description)voidIsEmptyIterable. describeTo(Description description)voidIsIn. describeTo(Description buffer)voidIsIterableContainingInAnyOrder. describeTo(Description description)voidIsIterableContainingInOrder. describeTo(Description description)voidIsMapContaining. describeTo(Description description)protected booleanIsIterableContainingInAnyOrder. matchesSafely(java.lang.Iterable<? extends T> items, Description mismatchDescription)protected booleanIsIterableContainingInOrder. matchesSafely(java.lang.Iterable<? extends E> iterable, Description mismatchDescription) -
Uses of Description in org.hamcrest.core
Methods in org.hamcrest.core with parameters of type Description Modifier and Type Method Description voidDescribedAs. describeMismatch(java.lang.Object item, Description description)voidIs. describeMismatch(java.lang.Object item, Description mismatchDescription)voidSubstringMatcher. describeMismatchSafely(java.lang.String item, Description mismatchDescription)voidAllOf. describeTo(Description description)voidAnyOf. describeTo(Description description)voidCombinableMatcher. describeTo(Description description)voidDescribedAs. describeTo(Description description)voidEvery. describeTo(Description description)voidIs. describeTo(Description description)voidIsAnything. describeTo(Description description)voidIsCollectionContaining. describeTo(Description description)voidIsEqual. describeTo(Description description)voidIsInstanceOf. describeTo(Description description)voidIsNot. describeTo(Description description)voidIsNull. describeTo(Description description)voidIsSame. describeTo(Description description)voidSubstringMatcher. describeTo(Description description)booleanAllOf. matches(java.lang.Object o, Description mismatch)protected booleanIsInstanceOf. matches(java.lang.Object item, Description mismatch)protected booleanCombinableMatcher. matchesSafely(T item, Description mismatch)booleanEvery. matchesSafely(java.lang.Iterable<T> collection, Description mismatchDescription)protected booleanIsCollectionContaining. matchesSafely(java.lang.Iterable<? super T> collection, Description mismatchDescription) -
Uses of Description in org.hamcrest.internal
Methods in org.hamcrest.internal with parameters of type Description Modifier and Type Method Description voidSelfDescribingValue. describeTo(Description description) -
Uses of Description in org.hamcrest.number
Methods in org.hamcrest.number with parameters of type Description Modifier and Type Method Description voidBigDecimalCloseTo. describeMismatchSafely(java.math.BigDecimal item, Description mismatchDescription)voidIsCloseTo. describeMismatchSafely(java.lang.Double item, Description mismatchDescription)voidOrderingComparison. describeMismatchSafely(T actual, Description mismatchDescription)voidBigDecimalCloseTo. describeTo(Description description)voidIsCloseTo. describeTo(Description description)voidOrderingComparison. describeTo(Description description) -
Uses of Description in org.hamcrest.object
Methods in org.hamcrest.object with parameters of type Description Modifier and Type Method Description voidIsCompatibleType. describeMismatchSafely(java.lang.Class<?> cls, Description mismatchDescription)voidIsCompatibleType. describeTo(Description description)voidIsEventFrom. describeTo(Description description)booleanIsEventFrom. matchesSafely(java.util.EventObject item, Description mismatchDescription) -
Uses of Description in org.hamcrest.text
Methods in org.hamcrest.text with parameters of type Description Modifier and Type Method Description voidIsEqualIgnoringCase. describeMismatchSafely(java.lang.String item, Description mismatchDescription)voidIsEqualIgnoringWhiteSpace. describeMismatchSafely(java.lang.String item, Description mismatchDescription)voidStringContainsInOrder. describeMismatchSafely(java.lang.String item, Description mismatchDescription)voidIsEmptyString. describeTo(Description description)voidIsEqualIgnoringCase. describeTo(Description description)voidIsEqualIgnoringWhiteSpace. describeTo(Description description)voidStringContainsInOrder. describeTo(Description description) -
Uses of Description in org.hamcrest.xml
Methods in org.hamcrest.xml with parameters of type Description Modifier and Type Method Description voidHasXPath. describeTo(Description description)booleanHasXPath. matchesSafely(org.w3c.dom.Node item, Description mismatch)
-