public class XsdJavaTestGenerator extends MessagingJavaTestGenerator<XsdJavaTestGenerator> implements XsdTestGenerator<XsdJavaTestGenerator>
TestGenerator.GeneratorModelog, self| Constructor and Description |
|---|
XsdJavaTestGenerator() |
| Modifier and Type | Method and Description |
|---|---|
void |
create()
Create tests with this generator.
|
protected Message |
generateInboundMessage(Message message)
Inbound message generation hook for subclasses.
|
protected Message |
generateOutboundMessage(Message message)
Outbound message generation hook for subclasses.
|
String |
getNameSuffix()
Gets the nameSuffix.
|
String |
getRequestMessage()
Gets the requestMessage.
|
String |
getResponseMessage()
Gets the responseMessage.
|
String |
getResponseMessageSuggestion()
Suggest name of response element based on request message element name.
|
String |
getTestNameSuggestion()
Suggest name of test based on request message element name.
|
String |
getXsd()
Gets the xsd.
|
void |
setNameSuffix(String nameSuffix)
Sets the nameSuffix.
|
void |
setRequestMessage(String requestMessage)
Sets the requestMessage.
|
void |
setResponseMessage(String responseMessage)
Sets the responseMessage.
|
void |
setXsd(String xsd)
Sets the xsd.
|
XsdJavaTestGenerator |
withInboundMappingFile(String mappingFile)
Add inbound XPath expression mappings file to manipulate inbound message content.
|
XsdJavaTestGenerator |
withInboundMappings(Map<String,String> mappings)
Add inbound XPath expression mappings to manipulate inbound message content.
|
XsdJavaTestGenerator |
withNameSuffix(String suffix)
Set the test name suffix to use.
|
XsdJavaTestGenerator |
withOutboundMappingFile(String mappingFile)
Add outbound XPath expression mappings file to manipulate outbound message content.
|
XsdJavaTestGenerator |
withOutboundMappings(Map<String,String> mappings)
Add outbound XPath expression mappings to manipulate outbound message content.
|
XsdJavaTestGenerator |
withRequestMessage(String requestMessage)
Set the request element name in xsd resource to use.
|
XsdJavaTestGenerator |
withResponseMessage(String responseMessage)
Set the response element name in xsd resource to use.
|
XsdJavaTestGenerator |
withXsd(String xsdResource)
Set the xsd schema resource to use.
|
addRequestHeader, addResponseHeader, getActions, getEndpoint, getReceiveRequestCodeProvider, getReceiveResponseCodeProvider, getSendRequestCodeProvider, getSendResponseCodeProvider, setEndpoint, withEndpoint, withRequest, withResponsegetBaseExtension, getBaseType, getCitrusAnnotationgetMode, getSrcDirectory, setMode, withModegetAuthor, getCreationDate, getDescription, getFileExtension, getFramework, getMethodName, getName, getPackage, getTargetFile, getTargetPackage, getUpdateDateTime, isDisabled, setAuthor, setDescription, setDisabled, setFileExtension, setFramework, setName, setPackage, setSrcDirectory, setTargetPackage, usePackage, useSrcDirectory, withAuthor, withDescription, withDisabled, withFileExtension, withFramework, withNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwithEndpointgetAuthor, getDescription, getFramework, getMode, getName, getTargetPackage, isDisabled, usePackage, useSrcDirectory, withAuthor, withDescription, withDisabled, withFramework, withMode, withNamepublic void create()
TestGeneratorcreate in interface TestGenerator<XsdJavaTestGenerator>create in class JavaTestGenerator<XsdJavaTestGenerator>protected Message generateInboundMessage(Message message)
MessagingJavaTestGeneratorgenerateInboundMessage in class MessagingJavaTestGenerator<XsdJavaTestGenerator>protected Message generateOutboundMessage(Message message)
MessagingJavaTestGeneratorgenerateOutboundMessage in class MessagingJavaTestGenerator<XsdJavaTestGenerator>public String getResponseMessageSuggestion()
getResponseMessageSuggestion in interface XsdTestGenerator<XsdJavaTestGenerator>public String getTestNameSuggestion()
public XsdJavaTestGenerator withXsd(String xsdResource)
withXsd in interface XsdTestGenerator<XsdJavaTestGenerator>xsdResource - public XsdJavaTestGenerator withRequestMessage(String requestMessage)
withRequestMessage in interface XsdTestGenerator<XsdJavaTestGenerator>requestMessage - public XsdJavaTestGenerator withResponseMessage(String responseMessage)
withResponseMessage in interface XsdTestGenerator<XsdJavaTestGenerator>responseMessage - public XsdJavaTestGenerator withNameSuffix(String suffix)
withNameSuffix in interface XsdTestGenerator<XsdJavaTestGenerator>suffix - public XsdJavaTestGenerator withInboundMappings(Map<String,String> mappings)
withInboundMappings in interface XsdTestGenerator<XsdJavaTestGenerator>mappings - public XsdJavaTestGenerator withOutboundMappings(Map<String,String> mappings)
withOutboundMappings in interface XsdTestGenerator<XsdJavaTestGenerator>mappings - public XsdJavaTestGenerator withInboundMappingFile(String mappingFile)
withInboundMappingFile in interface XsdTestGenerator<XsdJavaTestGenerator>mappingFile - public XsdJavaTestGenerator withOutboundMappingFile(String mappingFile)
withOutboundMappingFile in interface XsdTestGenerator<XsdJavaTestGenerator>mappingFile - public void setXsd(String xsd)
xsd - public String getXsd()
getXsd in interface XsdTestGenerator<XsdJavaTestGenerator>public void setRequestMessage(String requestMessage)
requestMessage - public String getRequestMessage()
getRequestMessage in interface XsdTestGenerator<XsdJavaTestGenerator>public void setResponseMessage(String responseMessage)
responseMessage - public String getResponseMessage()
getResponseMessage in interface XsdTestGenerator<XsdJavaTestGenerator>public void setNameSuffix(String nameSuffix)
nameSuffix - public String getNameSuffix()
Copyright © 2008–2019 ConSol Software GmbH. All rights reserved.