| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.easymock.AbstractMatcher
org.apache.hivemind.test.AbstractArgumentMatcher
org.apache.hivemind.test.RegexpMatcher
public class RegexpMatcher
A ArgumentMatcher implementation that treats the expected
 value (provided while training the mock object) as a Perl5 Regular expression, which is matched
 against the actual value.
| Constructor Summary | |
|---|---|
| RegexpMatcher() | |
| Method Summary | |
|---|---|
|  boolean | compareArguments(java.lang.Object expected,
                                 java.lang.Object actual)Compares an expected argument value (provided when training the mock object), against the actual argument value. | 
| Methods inherited from class org.apache.hivemind.test.AbstractArgumentMatcher | 
|---|
| argumentMatches | 
| Methods inherited from class org.easymock.AbstractMatcher | 
|---|
| argumentToString, matches, toString | 
| 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 compareArguments(java.lang.Object expected,
                                java.lang.Object actual)
ArgumentMatcherequals()).
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 | |||||||||