|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.hivemind.test.RegexpMatcher
A ArgumentMatcher
implementation treates the expected value as a
Perl5 Regular expression, which is matched against the actual value.
Constructor Summary | |
RegexpMatcher()
|
Method Summary | |
boolean |
matches(java.lang.Object expected,
java.lang.Object actual)
Returns true if the two objects are considered the same. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RegexpMatcher()
Method Detail |
public boolean matches(java.lang.Object expected, java.lang.Object actual)
ArgumentMatcher
equals()
).
matches
in interface ArgumentMatcher
expected
- The expected argument valueactual
- The actual argument value
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |