|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.easymock.AbstractMatcher
org.easymock.internal.ArrayMatcher
public class ArrayMatcher
| Constructor Summary | |
|---|---|
ArrayMatcher()
|
|
| Method Summary | |
|---|---|
boolean |
argumentMatches(java.lang.Object expected,
java.lang.Object actual)
Checks whether an expected argument matches an actual argument; the method is used by AbstractMatcher.matches(Object[], Object[]). |
java.lang.String |
argumentToString(java.lang.Object argument)
Converts an argument to a String, used by AbstractMatcher.toString(Object[]). |
| Methods inherited from class org.easymock.AbstractMatcher |
|---|
matches, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ArrayMatcher()
| Method Detail |
|---|
public java.lang.String argumentToString(java.lang.Object argument)
AbstractMatcherAbstractMatcher.toString(Object[]).
argumentToString in class AbstractMatcherargument - the argument to convert to a String.
String representation of the argument.
public boolean argumentMatches(java.lang.Object expected,
java.lang.Object actual)
AbstractMatcherAbstractMatcher.matches(Object[], Object[]). The arguments
provided to this method are always not null.
argumentMatches in class AbstractMatcherexpected - the expected argument.actual - the actual argument.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||