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.core |
Fundamental matchers of objects and values, and composite matchers.
|
org.hamcrest.internal | |
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 | Class and Description |
---|---|
class |
EmptyMapMatcher |
Modifier and Type | Class and Description |
---|---|
class |
EmptyCollection |
Modifier and Type | Interface and Description |
---|---|
interface |
Matcher<T>
A matcher over acceptable values.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseMatcher<T>
BaseClass for all Matcher implementations.
|
class |
org.hamcrest.TypeSafeMatcher<T> |
Modifier and Type | Method and Description |
---|---|
Description |
Description.appendDescriptionOf(SelfDescribing value)
Appends the description of a
SelfDescribing value to this description. |
Description |
BaseDescription.appendDescriptionOf(SelfDescribing value) |
static String |
StringDescription.asString(SelfDescribing selfDescribing)
Alias for
StringDescription.toString(SelfDescribing) . |
static String |
StringDescription.toString(SelfDescribing value)
Return the description of a
SelfDescribing object as a String. |
Modifier and Type | Method and Description |
---|---|
Description |
Description.appendList(String start,
String separator,
String end,
Iterable<? extends SelfDescribing> values)
Appends a list of
SelfDescribing objects
to the description. |
Description |
BaseDescription.appendList(String start,
String separator,
String end,
Iterable<? extends SelfDescribing> values) |
Modifier and Type | Class and Description |
---|---|
class |
AllOf<T>
Calculates the logical conjunction of two matchers.
|
class |
AnyOf<T>
Calculates the logical disjunction of two matchers.
|
class |
DescribedAs<T>
Provides a custom description to another matcher.
|
class |
Is<T>
Decorates another Matcher, retaining the behavior but allowing tests
to be slightly more expressive.
|
class |
IsAnything<T>
A matcher that always returns
true . |
class |
IsEqual<T>
Is the value equal to another value, as tested by the
Object.equals(java.lang.Object) invokedMethod? |
class |
IsInstanceOf
Tests whether the value is an instance of a class.
|
class |
IsNot<T>
Calculates the logical negation of a matcher.
|
class |
IsNull<T>
Is the value null?
|
class |
IsSame<T>
Is the value the same object as another value?
|
Modifier and Type | Class and Description |
---|---|
class |
SelfDescribingValue<T> |
Modifier and Type | Method and Description |
---|---|
SelfDescribing |
SelfDescribingValueIterator.next() |
Modifier and Type | Class and Description |
---|---|
class |
ArgumentMatcher<T>
Allows creating customized argument matchers.
|
Modifier and Type | Class and Description |
---|---|
class |
And |
class |
Any |
class |
AnyVararg |
class |
ArrayEquals |
class |
CapturingMatcher<T> |
class |
CompareEqual<T extends Comparable<T>> |
class |
CompareTo<T extends Comparable<T>> |
class |
Contains |
class |
EndsWith |
class |
Equals |
class |
EqualsWithDelta |
class |
Find |
class |
GreaterOrEqual<T extends Comparable<T>> |
class |
GreaterThan<T extends Comparable<T>> |
class |
InstanceOf |
class |
LessOrEqual<T extends Comparable<T>> |
class |
LessThan<T extends Comparable<T>> |
class |
LocalizedMatcher |
class |
Matches |
class |
Not |
class |
NotNull |
class |
Null |
class |
Or |
class |
Same |
class |
StartsWith |
Modifier and Type | Method and Description |
---|---|
SelfDescribing |
LocalizedMatcher.withExtraTypeInfo() |
SelfDescribing |
Equals.withExtraTypeInfo() |
SelfDescribing |
ContainsExtraTypeInformation.withExtraTypeInfo() |
Modifier and Type | Class and Description |
---|---|
class |
ReflectionEquals |
Copyright © 2018. All rights reserved.