|
|||||||||
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 InvocationMatcher
public boolean hasDescription()
hasDescription
in interface InvocationMatcher
public java.lang.StringBuffer describeTo(java.lang.StringBuffer buffer)
SelfDescribing
describeTo
in interface SelfDescribing
buffer
- The buffer that the description is appended to.
public void invoked(Invocation invocation)
invoked
in interface InvocationMatcher
public void verify()
Verifiable
verify
in interface Verifiable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |