Name | Description | Type | Package | Framework |
AllOf | Calculates the logical conjunction of two matchers. | Class | org.hamcrest.core | JUnit |
AnyOf | Calculates the logical disjunction of two matchers. | Class | org.hamcrest.core | JUnit |
DescribedAs | Provides a custom description to another matcher. | Class | org.hamcrest.core | JUnit |
Is | Decorates another Matcher, retaining the behavior but allowing tests to be slightly more expressive. | Class | org.hamcrest.core | JUnit |
IsAnything | A matcher that always returns true. | Class | org.hamcrest.core | JUnit |
IsEqual | Is the value equal to another value, as tested by the Object. | Class | org.hamcrest.core | JUnit |
IsInstanceOf | Tests whether the value is an instance of a class. | Class | org.hamcrest.core | JUnit |
IsNot | Calculates the logical negation of a matcher. | Class | org.hamcrest.core | JUnit |
IsNull | Class | org.hamcrest.core | JUnit | |
IsSame | Class | org.hamcrest.core | JUnit | |
AllOf | Calculates the logical conjunction of multiple matchers. | Class | org.hamcrest.core | HamCrest |
AnyOf | Calculates the logical disjunction of multiple matchers. | Class | org.hamcrest.core | HamCrest |
ArrayIterator | Constructor SummaryArrayIterator(java. | Class | org.hamcrest.internal | HamCrest |
BaseDescription | A Description that is stored as a string. | Class | org.hamcrest | HamCrest |
BaseMatcher | BaseClass for all Matcher implementations. | Class | org.hamcrest | HamCrest |
BigDecimalCloseTo | Constructor SummaryBigDecimalCloseTo(java. | Class | org.hamcrest.number | HamCrest |
CombinableMatcher | Class | org.hamcrest.core | HamCrest | |
CombinableMatcher .CombinableBothMatcher | Constructor SummaryCombinableMatcher. | Class | org.hamcrest.core.CombinableMatcher | HamCrest |
CombinableMatcher .CombinableEitherMatcher | Constructor SummaryCombinableMatcher. | Class | org.hamcrest.core.CombinableMatcher | HamCrest |
Condition | A Condition implements part of a multi-step match. | Class | org.hamcrest | HamCrest |
Condition .Step | Interface | org.hamcrest.Condition | HamCrest | |
CoreMatchers | Constructor SummaryCoreMatchers()allOf(java. | Class | org.hamcrest | HamCrest |
CustomMatcher | Utility class for writing one off matchers. | Class | org.hamcrest | HamCrest |
CustomTypeSafeMatcher | Utility class for writing one off matchers. | Class | org.hamcrest | HamCrest |
DescribedAs | Provides a custom description to another matcher. | Class | org.hamcrest.core | HamCrest |
Description | A description of a Matcher. | Interface | org.hamcrest | HamCrest |
Description .NullDescription | Nested Class SummaryNested classes/interfaces inherited from interface org. | Class | org.hamcrest.Description | HamCrest |
DiagnosingMatcher | TODO(ngd): Document. | Class | org.hamcrest | HamCrest |
EasyMock2Adapter | An adapter allowing a Hamcrest Matcher to act as an EasyMock IArgumentMatcher. | Class | org.hamcrest.integration | HamCrest |
EasyMock2Matchers | Class | org.hamcrest | HamCrest | |
Every | Class | org.hamcrest.core | HamCrest | |
Factory | Class | org.hamcrest | HamCrest | |
FeatureMatcher | Supporting class for matching a feature of an object. | Class | org.hamcrest | HamCrest |
HasProperty | A Matcher that checks that an object has a JavaBean property with the specified name. | Class | org.hamcrest.beans | HamCrest |
HasPropertyWithValue | Matcher that asserts that a JavaBean property on an argument passed to the mock object meets the provided matcher. | Class | org.hamcrest.beans | HamCrest |
HasToString | Constructor SummaryHasToString(Matcher super java. | Class | org.hamcrest.object | HamCrest |
HasXPath | Applies a Matcher to a given XML Node in an existing XML Node tree, specified by an XPath expression. | Class | org.hamcrest.xml | HamCrest |
Is | Decorates another Matcher, retaining the behaviour but allowing tests to be slightly more expressive. | Class | org.hamcrest.core | HamCrest |
IsAnything | A matcher that always returns true. | Class | org.hamcrest.core | HamCrest |
IsArray | Matcher for array whose elements satisfy a sequence of matchers. | Class | org.hamcrest.collection | HamCrest |
IsArrayContaining | Matches if an array contains an item satisfying a nested matcher. | Class | org.hamcrest.collection | HamCrest |
IsArrayContainingInAnyOrder | Constructor SummaryIsArrayContainingInAnyOrder(java. | Class | org.hamcrest.collection | HamCrest |
IsArrayContainingInOrder | Constructor SummaryIsArrayContainingInOrder(java. | Class | org.hamcrest.collection | HamCrest |
IsArrayWithSize | Matches if array size satisfies a nested matcher. | Class | org.hamcrest.collection | HamCrest |
IsCloseTo | Class | org.hamcrest.number | HamCrest | |
IsCollectionContaining | Class | org.hamcrest.core | HamCrest | |
IsCollectionWithSize | Matches if collection size satisfies a nested matcher. | Class | org.hamcrest.collection | HamCrest |
IsCompatibleType | Constructor SummaryIsCompatibleType(java. | Class | org.hamcrest.object | HamCrest |
IsEmptyCollection | Tests if collection is empty. | Class | org.hamcrest.collection | HamCrest |
IsEmptyIterable | Tests if collection is empty. | Class | org.hamcrest.collection | HamCrest |
IsEmptyString | Matches empty Strings (and null). | Class | org.hamcrest.text | HamCrest |
IsEqual | Is the value equal to another value, as tested by the Object. | Class | org.hamcrest.core | HamCrest |
IsEqualIgnoringCase | Tests if a string is equal to another string, regardless of the case. | Class | org.hamcrest.text | HamCrest |
IsEqualIgnoringWhiteSpace | Tests if a string is equal to another string, ignoring any changes in whitespace. | Class | org.hamcrest.text | HamCrest |
IsEventFrom | Tests if the value is an event announced by a specific object. | Class | org.hamcrest.object | HamCrest |
IsIn | Constructor SummaryIsIn(java. | Class | org.hamcrest.collection | HamCrest |
IsInstanceOf | Tests whether the value is an instance of a class. | Class | org.hamcrest.core | HamCrest |
IsIterableContainingInAnyOrder | Constructor SummaryIsIterableContainingInAnyOrder(java. | Class | org.hamcrest.collection | HamCrest |
IsIterableContainingInOrder | Constructor SummaryIsIterableContainingInOrder(java. | Class | org.hamcrest.collection | HamCrest |
IsIterableWithSize | Constructor SummaryIsIterableWithSize(Matcher super java. | Class | org.hamcrest.collection | HamCrest |
IsMapContaining | Class | org.hamcrest.collection | HamCrest | |
IsNot | Calculates the logical negation of a matcher. | Class | org.hamcrest.core | HamCrest |
IsNull | Class | org.hamcrest.core | HamCrest | |
IsSame | Class | org.hamcrest.core | HamCrest | |
JavaLangMatcherAssert | Integration method for use with Java's assert keyword. | Class | org.hamcrest | HamCrest |
JMock1Adapter | An adapter allowing a Hamcrest Matcher to act as an jMock1 Constraint. | Class | org.hamcrest.integration | HamCrest |
JMock1Matchers | Class | org.hamcrest | HamCrest | |
Matcher | A matcher over acceptable values. | Interface | org.hamcrest | HamCrest |
MatcherAssert | Class | org.hamcrest | HamCrest | |
Matchers | Constructor SummaryMatchers()allOf(java. | Class | org.hamcrest | HamCrest |
OrderingComparison | Class | org.hamcrest.number | HamCrest | |
PropertyUtil | Utility class for accessing properties on JavaBean objects. | Class | org.hamcrest.beans | HamCrest |
ReflectiveTypeFinder | Constructor SummaryReflectiveTypeFinder(java. | Class | org.hamcrest.internal | HamCrest |
SamePropertyValuesAs | Class | org.hamcrest.beans | HamCrest | |
SamePropertyValuesAs .PropertyMatcher | Constructor SummarySamePropertyValuesAs. | Class | org.hamcrest.beans.SamePropertyValuesAs | HamCrest |
SelfDescribing | The ability of an object to describe itself. | Interface | org.hamcrest | HamCrest |
SelfDescribingValue | Class | org.hamcrest.internal | HamCrest | |
SelfDescribingValueIterator | Constructor SummarySelfDescribingValueIterator(java. | Class | org.hamcrest.internal | HamCrest |
StringContains | Tests if the argument is a string that contains a substring. | Class | org.hamcrest.core | HamCrest |
StringContainsInOrder | Constructor SummaryStringContainsInOrder(java. | Class | org.hamcrest.text | HamCrest |
StringDescription | A Description that is stored as a string. | Class | org.hamcrest | HamCrest |
StringEndsWith | Tests if the argument is a string that contains a substring. | Class | org.hamcrest.core | HamCrest |
StringStartsWith | Tests if the argument is a string that contains a substring. | Class | org.hamcrest.core | HamCrest |
SubstringMatcher | Class | org.hamcrest.core | HamCrest | |
TypeSafeDiagnosingMatcher | Convenient 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. | Class | org.hamcrest | HamCrest |
TypeSafeMatcher | Convenient base class for Matchers that require a non-null value of a specific type. | Class | org.hamcrest | HamCrest |