Package | Description |
---|---|
org.eclipse.epsilon.egl.engine.traceability.fine.test.matchers | |
org.eclipse.epsilon.test.util.hamcrest | |
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.
|
org.mockito |
Mockito is a mock library for java - see Mockito class for for usage.
|
org.mockito.internal.matchers |
Argument matchers for verification and stubbing.
|
org.mockito.internal.matchers.apachecommons |
Argument matchers that use Apache Commons Lang reflection-equality.
|
Modifier and Type | Method and Description |
---|---|
void |
EmptyMapMatcher.describeTo(Description description) |
Modifier and Type | Method and Description |
---|---|
void |
EmptyCollection.describeTo(Description description) |
Modifier and Type | Class and 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. |
Modifier and Type | Field and Description |
---|---|
static Description |
Description.NONE
A description that consumes input but does nothing.
|
Modifier and Type | Method and 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) |
<T> Description |
Description.appendValueList(String start,
String separator,
String end,
Iterable<T> values)
Appends a list of values to the description.
|
<T> Description |
Description.NullDescription.appendValueList(String start,
String separator,
String end,
Iterable<T> values) |
<T> Description |
BaseDescription.appendValueList(String start,
String separator,
String end,
Iterable<T> values) |
<T> Description |
Description.appendValueList(String start,
String separator,
String end,
T... values)
Appends a list of values to the description.
|
<T> Description |
Description.NullDescription.appendValueList(String start,
String separator,
String end,
T... values) |
<T> Description |
BaseDescription.appendValueList(String start,
String separator,
String end,
T... values) |
Modifier and Type | Method and Description |
---|---|
void |
TypeSafeDiagnosingMatcher.describeMismatch(Object item,
Description mismatchDescription) |
void |
BaseMatcher.describeMismatch(Object item,
Description description) |
void |
DiagnosingMatcher.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 |
TypeSafeMatcher.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 |
CustomTypeSafeMatcher.describeTo(Description description) |
void |
CustomMatcher.describeTo(Description description) |
void |
FeatureMatcher.describeTo(Description description) |
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 mismatchDescription) |
Modifier and Type | Method and Description |
---|---|
void |
HasProperty.describeMismatchSafely(T item,
Description mismatchDescription) |
void |
HasPropertyWithValue.describeTo(Description description) |
void |
HasProperty.describeTo(Description description) |
void |
SamePropertyValuesAs.describeTo(Description description) |
void |
SamePropertyValuesAs.PropertyMatcher.describeTo(Description description) |
boolean |
SamePropertyValuesAs.PropertyMatcher.matches(Object actual,
Description mismatchDescription) |
boolean |
HasPropertyWithValue.matchesSafely(T bean,
Description mismatchDescription) |
boolean |
SamePropertyValuesAs.matchesSafely(T item,
Description mismatchDescription) |
Modifier and Type | Method and Description |
---|---|
void |
IsEmptyCollection.describeMismatchSafely(Collection<E> item,
Description mismatchDescription) |
void |
IsArrayContainingInAnyOrder.describeMismatchSafely(E[] item,
Description mismatchDescription) |
void |
IsArrayContainingInOrder.describeMismatchSafely(E[] item,
Description mismatchDescription) |
void |
IsEmptyIterable.describeMismatchSafely(Iterable<E> iter,
Description mismatchDescription) |
void |
IsMapContaining.describeMismatchSafely(Map<? extends K,? extends V> map,
Description mismatchDescription) |
void |
IsMapContainingKey.describeMismatchSafely(Map<? super K,?> map,
Description mismatchDescription) |
void |
IsMapContainingValue.describeMismatchSafely(Map<?,V> map,
Description mismatchDescription) |
void |
IsArray.describeMismatchSafely(T[] actual,
Description mismatchDescription) |
void |
IsArrayContaining.describeMismatchSafely(T[] item,
Description mismatchDescription) |
void |
IsArray.describeTo(Description description) |
void |
IsMapContaining.describeTo(Description description) |
void |
IsMapContainingKey.describeTo(Description description) |
void |
IsEmptyIterable.describeTo(Description description) |
void |
IsIterableContainingInAnyOrder.describeTo(Description description) |
void |
IsEmptyCollection.describeTo(Description description) |
void |
IsArrayContaining.describeTo(Description description) |
void |
IsArrayContainingInAnyOrder.describeTo(Description description) |
void |
IsIn.describeTo(Description buffer) |
void |
IsIterableContainingInOrder.describeTo(Description description) |
void |
IsArrayContainingInOrder.describeTo(Description description) |
void |
IsMapContainingValue.describeTo(Description description) |
protected boolean |
IsIterableContainingInOrder.matchesSafely(Iterable<E> iterable,
Description mismatchDescription) |
protected boolean |
IsIterableContainingInAnyOrder.matchesSafely(Iterable<T> items,
Description mismatchDescription) |
Modifier and Type | Method and Description |
---|---|
void |
Is.describeMismatch(Object item,
Description mismatchDescription) |
void |
SubstringMatcher.describeMismatchSafely(String item,
Description mismatchDescription) |
void |
IsNot.describeTo(Description description) |
void |
AnyOf.describeTo(Description description) |
void |
IsCollectionContaining.describeTo(Description description) |
void |
Every.describeTo(Description description) |
void |
IsNull.describeTo(Description description) |
void |
SubstringMatcher.describeTo(Description description) |
void |
AllOf.describeTo(Description description) |
void |
CombinableMatcher.describeTo(Description description) |
void |
IsAnything.describeTo(Description description) |
void |
DescribedAs.describeTo(Description description) |
void |
IsEqual.describeTo(Description description) |
void |
Is.describeTo(Description description) |
void |
IsInstanceOf.describeTo(Description description) |
void |
IsSame.describeTo(Description description) |
boolean |
AllOf.matches(Object o,
Description mismatchDescription) |
protected boolean |
IsInstanceOf.matches(Object item,
Description mismatchDescription) |
protected boolean |
IsCollectionContaining.matchesSafely(Iterable<? super T> collection,
Description mismatchDescription) |
boolean |
Every.matchesSafely(Iterable<T> collection,
Description mismatchDescription) |
Modifier and Type | Method and Description |
---|---|
void |
SelfDescribingValue.describeTo(Description description) |
Modifier and Type | Method and Description |
---|---|
void |
IsCloseTo.describeMismatchSafely(Double item,
Description mismatchDescription) |
void |
OrderingComparison.describeMismatchSafely(T actual,
Description mismatchDescription) |
void |
IsCloseTo.describeTo(Description description) |
void |
OrderingComparison.describeTo(Description description) |
Modifier and Type | Method and Description |
---|---|
void |
IsCompatibleType.describeMismatchSafely(Class<?> cls,
Description mismatchDescription) |
void |
IsCompatibleType.describeTo(Description description) |
void |
IsEventFrom.describeTo(Description description) |
boolean |
IsEventFrom.matchesSafely(EventObject item,
Description mismatchDescription) |
Modifier and Type | Method and Description |
---|---|
void |
IsEqualIgnoringWhiteSpace.describeMismatchSafely(String item,
Description mismatchDescription) |
void |
StringContainsInOrder.describeMismatchSafely(String item,
Description mismatchDescription) |
void |
IsEqualIgnoringCase.describeMismatchSafely(String item,
Description mismatchDescription) |
void |
IsEqualIgnoringWhiteSpace.describeTo(Description description) |
void |
IsEmptyString.describeTo(Description description) |
void |
StringContainsInOrder.describeTo(Description description) |
void |
IsEqualIgnoringCase.describeTo(Description description) |
Modifier and Type | Method and Description |
---|---|
void |
HasXPath.describeTo(Description description) |
boolean |
HasXPath.matchesSafely(Node item,
Description mismatchDescription) |
Modifier and Type | Method and Description |
---|---|
void |
ArgumentMatcher.describeTo(Description description) |
Modifier and Type | Method and Description |
---|---|
void |
EqualsWithDelta.describeTo(Description description) |
void |
And.describeTo(Description description) |
void |
Any.describeTo(Description description) |
void |
Contains.describeTo(Description description) |
void |
Same.describeTo(Description description) |
void |
Matches.describeTo(Description description) |
void |
Or.describeTo(Description description) |
void |
LocalizedMatcher.describeTo(Description description) |
void |
EndsWith.describeTo(Description description) |
void |
ArrayEquals.describeTo(Description description) |
void |
Null.describeTo(Description description) |
void |
Equals.describeTo(Description description) |
void |
CapturingMatcher.describeTo(Description description) |
void |
Find.describeTo(Description description) |
void |
CompareTo.describeTo(Description description) |
void |
InstanceOf.describeTo(Description description) |
void |
Not.describeTo(Description description) |
void |
NotNull.describeTo(Description description) |
void |
StartsWith.describeTo(Description description) |
Modifier and Type | Method and Description |
---|---|
void |
ReflectionEquals.describeTo(Description description) |
Copyright © 2016. All rights reserved.