| Package | Description |
|---|---|
| org.hamcrest | |
| org.hamcrest.beans |
Matchers of Java Bean properties and their values.
|
| org.hamcrest.xml |
Matchers of XML documents.
|
| Modifier and Type | Class and Description |
|---|---|
private static class |
Condition.Matched<T> |
private static class |
Condition.NotMatched<T> |
| Modifier and Type | Method and Description |
|---|---|
abstract <U> Condition<U> |
Condition.and(Condition.Step<? super T,U> mapping) |
<U> Condition<U> |
Condition.Matched.and(Condition.Step<? super T,U> next) |
<U> Condition<U> |
Condition.NotMatched.and(Condition.Step<? super T,U> mapping) |
Condition<O> |
Condition.Step.apply(I value,
Description mismatch) |
static <T> Condition<T> |
Condition.matched(T theValue,
Description mismatch) |
static <T> Condition<T> |
Condition.notMatched() |
<U> Condition<U> |
Condition.then(Condition.Step<? super T,U> mapping) |
| Modifier and Type | Method and Description |
|---|---|
private Condition<java.beans.PropertyDescriptor> |
HasPropertyWithValue.propertyOn(T bean,
Description mismatch) |
| Modifier and Type | Method and Description |
|---|---|
private Condition<java.lang.Object> |
HasXPath.evaluated(org.w3c.dom.Node item,
Description mismatch) |