|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jmock.core.matcher.TestFailureMatcher
public class TestFailureMatcher
| Constructor Summary | |
|---|---|
TestFailureMatcher(java.lang.String errorMessage)
|
|
| Method Summary | |
|---|---|
java.lang.StringBuffer |
describeTo(java.lang.StringBuffer buffer)
Appends the description of this object to the buffer. |
boolean |
hasDescription()
|
void |
invoked(Invocation invocation)
|
boolean |
matches(Invocation invocation)
|
void |
verify()
Throw an AssertionFailedException if any expectations have not been met. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TestFailureMatcher(java.lang.String errorMessage)
| Method Detail |
|---|
public boolean matches(Invocation invocation)
matches in interface InvocationMatcherpublic boolean hasDescription()
hasDescription in interface InvocationMatcherpublic java.lang.StringBuffer describeTo(java.lang.StringBuffer buffer)
SelfDescribing
describeTo in interface SelfDescribingbuffer - The buffer that the description is appended to.
public void invoked(Invocation invocation)
invoked in interface InvocationMatcherpublic void verify()
Verifiable
verify in interface Verifiable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||