|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.javacrumbs.smock.common.MessageMatcher
public class MessageMatcher
Common matching code.
| Field Summary | |
|---|---|
protected Source |
controlMessage
|
| Constructor Summary | |
|---|---|
MessageMatcher(Source controlMessage)
|
|
| Method Summary | |
|---|---|
protected void |
compare(Source controlMessage,
Source messageSource)
Compares message with control message. |
protected org.custommonkey.xmlunit.Diff |
createDiff(Source controlMessage,
Source messageSource)
Creates Enhanced Diff. |
Source |
getControlMessage()
|
void |
match(URI uri,
org.springframework.ws.WebServiceMessage request)
|
void |
match(org.springframework.ws.WebServiceMessage request,
org.springframework.ws.WebServiceMessage response)
|
protected void |
matchInternal(org.springframework.ws.WebServiceMessage input,
org.springframework.ws.WebServiceMessage message)
Matches document. |
protected Source |
preprocessControlMessage(org.springframework.ws.WebServiceMessage input)
Does control message pre-processing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final Source controlMessage
| Constructor Detail |
|---|
public MessageMatcher(Source controlMessage)
| Method Detail |
|---|
protected final void matchInternal(org.springframework.ws.WebServiceMessage input,
org.springframework.ws.WebServiceMessage message)
input - message -
public void match(org.springframework.ws.WebServiceMessage request,
org.springframework.ws.WebServiceMessage response)
throws IOException,
AssertionError
match in interface org.springframework.ws.test.server.ResponseMatcherIOException
AssertionError
public void match(URI uri,
org.springframework.ws.WebServiceMessage request)
throws IOException,
AssertionError
match in interface org.springframework.ws.test.client.RequestMatcherIOException
AssertionError
protected final void compare(Source controlMessage,
Source messageSource)
controlMessage - messageSource -
AssertionErrorprotected Source preprocessControlMessage(org.springframework.ws.WebServiceMessage input)
input - controlMessage -
protected org.custommonkey.xmlunit.Diff createDiff(Source controlMessage,
Source messageSource)
controlMessage - messageDocument -
public final Source getControlMessage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||