public class XsdXmlTestGenerator extends MessagingXmlTestGenerator<XsdXmlTestGenerator> implements XsdTestGenerator<XsdXmlTestGenerator>
TestGenerator.GeneratorModelog, self| Constructor and Description |
|---|
XsdXmlTestGenerator() |
| Modifier and Type | Method and Description |
|---|---|
void |
create()
Create the test case.
|
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.
|
XsdXmlTestGenerator |
withInboundMappingFile(String mappingFile)
Add inbound XPath expression mappings file to manipulate inbound message content.
|
XsdXmlTestGenerator |
withInboundMappings(Map<String,String> mappings)
Add inbound XPath expression mappings to manipulate inbound message content.
|
XsdXmlTestGenerator |
withNameSuffix(String suffix)
Set the test name suffix to use.
|
XsdXmlTestGenerator |
withOutboundMappingFile(String mappingFile)
Add outbound XPath expression mappings file to manipulate outbound message content.
|
XsdXmlTestGenerator |
withOutboundMappings(Map<String,String> mappings)
Add outbound XPath expression mappings to manipulate outbound message content.
|
XsdXmlTestGenerator |
withRequestMessage(String requestMessage)
Set the request element name in xsd resource to use.
|
XsdXmlTestGenerator |
withResponseMessage(String responseMessage)
Set the response element name in xsd resource to use.
|
XsdXmlTestGenerator |
withXsd(String xsdResource)
Set the xsd schema resource to use.
|
addRequestHeader, addResponseHeader, getActions, getEndpoint, getReceiveRequestActionProvider, getReceiveResponseActionProvider, getSendRequestActionProvider, getSendResponseActionProvider, setEndpoint, withEndpoint, withRequest, withResponsegetJavaTestGenerator, getMarshaller, getMarshallerContextPaths, getMode, getNamespacePrefixMapper, getSrcDirectory, getTemplateFilePath, getTemplateProperties, setMarshaller, setMode, setNamespacePrefixMapper, 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()
AbstractTemplateBasedTestGeneratorcreate in interface TestGenerator<XsdXmlTestGenerator>create in class XmlTestGenerator<XsdXmlTestGenerator>protected Message generateInboundMessage(Message message)
MessagingXmlTestGeneratorgenerateInboundMessage in class MessagingXmlTestGenerator<XsdXmlTestGenerator>protected Message generateOutboundMessage(Message message)
MessagingXmlTestGeneratorgenerateOutboundMessage in class MessagingXmlTestGenerator<XsdXmlTestGenerator>public String getResponseMessageSuggestion()
getResponseMessageSuggestion in interface XsdTestGenerator<XsdXmlTestGenerator>public String getTestNameSuggestion()
public XsdXmlTestGenerator withXsd(String xsdResource)
withXsd in interface XsdTestGenerator<XsdXmlTestGenerator>xsdResource - public XsdXmlTestGenerator withRequestMessage(String requestMessage)
withRequestMessage in interface XsdTestGenerator<XsdXmlTestGenerator>requestMessage - public XsdXmlTestGenerator withResponseMessage(String responseMessage)
withResponseMessage in interface XsdTestGenerator<XsdXmlTestGenerator>responseMessage - public XsdXmlTestGenerator withNameSuffix(String suffix)
withNameSuffix in interface XsdTestGenerator<XsdXmlTestGenerator>suffix - public XsdXmlTestGenerator withInboundMappings(Map<String,String> mappings)
withInboundMappings in interface XsdTestGenerator<XsdXmlTestGenerator>mappings - public XsdXmlTestGenerator withOutboundMappings(Map<String,String> mappings)
withOutboundMappings in interface XsdTestGenerator<XsdXmlTestGenerator>mappings - public XsdXmlTestGenerator withInboundMappingFile(String mappingFile)
withInboundMappingFile in interface XsdTestGenerator<XsdXmlTestGenerator>mappingFile - public XsdXmlTestGenerator withOutboundMappingFile(String mappingFile)
withOutboundMappingFile in interface XsdTestGenerator<XsdXmlTestGenerator>mappingFile - public void setXsd(String xsd)
xsd - public String getXsd()
getXsd in interface XsdTestGenerator<XsdXmlTestGenerator>public void setRequestMessage(String requestMessage)
requestMessage - public String getRequestMessage()
getRequestMessage in interface XsdTestGenerator<XsdXmlTestGenerator>public void setResponseMessage(String responseMessage)
responseMessage - public String getResponseMessage()
getResponseMessage in interface XsdTestGenerator<XsdXmlTestGenerator>public void setNameSuffix(String nameSuffix)
nameSuffix - public String getNameSuffix()
Copyright © 2008–2019 ConSol Software GmbH. All rights reserved.