Uses of Class
org.hamcrest.BaseMatcher
Packages that use BaseMatcher
Package
Description
Matchers of Java Bean properties and their values.
Matchers of arrays and collections.
Fundamental matchers of objects and values, and composite matchers.
Matchers that perform numeric comparisons.
Matchers that inspect objects and classes.
Matchers that perform text comparisons.
Matchers of XML documents.
-
Uses of BaseMatcher in org.hamcrest
Subclasses of BaseMatcher in org.hamcrestModifier and TypeClassDescriptionclassUtility class for writing one off matchers.classUtility class for writing one off matchers.classTODO(ngd): Document.classFeatureMatcher<T,U> Supporting class for matching a feature of an object.classConvenient base class for Matchers that require a non-null value of a specific type and that will report why the received value has been rejected.classConvenient base class for Matchers that require a non-null value of a specific type. -
Uses of BaseMatcher in org.hamcrest.beans
Subclasses of BaseMatcher in org.hamcrest.beansModifier and TypeClassDescriptionclassHasProperty<T>A Matcher that checks that an object has a JavaBean property with the specified name.classMatcher that asserts that a JavaBean property on an argument passed to the mock object meets the provided matcher.class -
Uses of BaseMatcher in org.hamcrest.collection
Subclasses of BaseMatcher in org.hamcrest.collectionModifier and TypeClassDescriptionclassclassMatches if an array contains an item satisfying a nested matcher.classIsArray<T>Matcher for array whose elements satisfy a sequence of matchers.classDeprecated.classDeprecated.As of release 2.1, replaced byArrayMatching.classMatches if array size satisfies a nested matcher.classMatches if collection size satisfies a nested matcher.classTests if collection is empty.classTests if collection is empty.classIsIn<T>classclassclassclassclassIsMapContaining<K,V> final classIsMapWithSize<K,V> Matches if map size satisfies a nested matcher. -
Uses of BaseMatcher in org.hamcrest.core
Subclasses of BaseMatcher in org.hamcrest.coreModifier and TypeClassDescriptionclassAllOf<T>Calculates the logical conjunction of multiple matchers.classAnyOf<T>Calculates the logical disjunction of multiple matchers.classTODO: Finish Class Level Documentation.classDescribedAs<T>Provides a custom description to another matcher.classEvery<T>classIs<T>Decorates another Matcher, retaining the behaviour but allowing tests to be slightly more expressive.classIsAnything<T>A matcher that always returnstrue.classDeprecated.As of release 2.1, replaced byIsIterableContaining.classIsEqual<T>Is the value equal to another value, as tested by theObject.equals(java.lang.Object)invokedMethod?classTests whether the value is an instance of a class.classclassIsNot<T>Calculates the logical negation of a matcher.classIsNull<T>Is the value null?classIsSame<T>Is the value the same object as another value?classTests if the argument is a string that contains a specific substring.classTests if the argument is a string that ends with a specific substring.classclassTests if the argument is a string that starts with a specific substring.class -
Uses of BaseMatcher in org.hamcrest.number
Subclasses of BaseMatcher in org.hamcrest.numberModifier and TypeClassDescriptionclassclassIs the value a number equal to a value within some range of acceptable error?final classIs the value a number actually not a number (NaN)? -
Uses of BaseMatcher in org.hamcrest.object
Subclasses of BaseMatcher in org.hamcrest.objectModifier and TypeClassDescriptionclassclassHasToString<T>classclassTests if the value is an event announced by a specific object. -
Uses of BaseMatcher in org.hamcrest.text
Subclasses of BaseMatcher in org.hamcrest.textModifier and TypeClassDescriptionclassfinal classMatches blank Strings (and null).final classMatches empty Strings (and null).classTests if a string is equal to another string, compressing any changes in whitespace.classTests if a string is equal to another string, regardless of the case.classclass -
Uses of BaseMatcher in org.hamcrest.xml
Subclasses of BaseMatcher in org.hamcrest.xmlModifier and TypeClassDescriptionclassApplies a Matcher to a given XML Node in an existing XML Node tree, specified by an XPath expression.
ArrayMatching.