public abstract class AbstractXmlContainsAssertion extends WsdlMessageAssertion implements RequestAssertion, ResponseAssertion, XPathReferenceContainer
| Modifier and Type | Class and Description | 
|---|---|
| protected class  | AbstractXmlContainsAssertion.InternalDifferenceListener | 
| Modifier and Type | Field and Description | 
|---|---|
| protected boolean | allowWildcards | 
| protected AssertionConfigurationDialog | configurationDialog | 
| protected String | expectedContent | 
| protected boolean | ignoreComments | 
| protected boolean | ignoreNamespaceDifferences | 
| protected String | path | 
assertionErrors, assertionStatusCONFIGURATION_PROPERTY, DISABLED_PROPERTY, ERRORS_PROPERTY, STATUS_PROPERTYDESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY| Modifier | Constructor and Description | 
|---|---|
| protected  | AbstractXmlContainsAssertion(TestAssertionConfig assertionConfig,
                            Assertable modelItem,
                            boolean cloneable,
                            boolean configurable,
                            boolean multiple,
                            boolean requiresResponseContent) | 
assertProperty, assertRequest, assertResponse, getAssertable, getConfig, getConfiguration, getDescription, getErrors, getIcon, getId, getIndexOfAssertion, getLabel, getName, getParent, getSettings, getStatus, isAllowMultiple, isClonable, isConfigurable, isDisabled, isFailed, isValid, prepare, release, resolve, setAssertable, setConfiguration, setDisabled, setName, updateConfigaddPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, getChildren, getProject, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitassertRequestassertResponsegetChildren, getProjectaddPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListenerprotected String expectedContent
protected String path
protected boolean allowWildcards
protected boolean ignoreNamespaceDifferences
protected boolean ignoreComments
protected AssertionConfigurationDialog configurationDialog
protected AbstractXmlContainsAssertion(TestAssertionConfig assertionConfig, Assertable modelItem, boolean cloneable, boolean configurable, boolean multiple, boolean requiresResponseContent)
public String getExpectedContent()
public void setExpectedContent(String expectedContent)
protected void setExpectedContent(String expectedContent, boolean save)
@Deprecated public void setContent(String content)
public String getPath()
public void setPath(String path)
public boolean isAllowWildcards()
public void setAllowWildcards(boolean allowWildcards)
public boolean isIgnoreNamespaceDifferences()
public void setIgnoreNamespaceDifferences(boolean ignoreNamespaceDifferences)
public boolean isIgnoreComments()
public void setIgnoreComments(boolean ignoreComments)
public org.apache.xmlbeans.XmlObject createConfiguration()
protected void addConfigurationValues(XmlObjectConfigurationBuilder builder)
protected JTextArea getPathArea()
protected JTextArea getContentArea()
public boolean configure()
configure in interface TestAssertionconfigure in class WsdlMessageAssertionprotected AbstractXmlContainsAssertion getAssertion()
protected String internalAssertResponse(MessageExchange messageExchange, SubmitContext context) throws AssertionException
internalAssertResponse in class WsdlMessageAssertionAssertionExceptionpublic abstract String assertContent(String response, SubmitContext context, String type) throws AssertionException
AssertionExceptionprotected String internalAssertProperty(TestPropertyHolder source, String propertyName, MessageExchange messageExchange, SubmitContext context) throws AssertionException
internalAssertProperty in class WsdlMessageAssertionAssertionExceptionprotected String internalAssertRequest(MessageExchange messageExchange, SubmitContext context) throws AssertionException
internalAssertRequest in class WsdlMessageAssertionAssertionExceptionpublic PropertyExpansion[] getPropertyExpansions()
getPropertyExpansions in interface PropertyExpansionContainergetPropertyExpansions in class WsdlMessageAssertionpublic String getPathAreaTitle()
public String getPathAreaDescription()
public String getPathAreaToolTipText()
public String getPathAreaBorderTitle()
public String getContentAreaToolTipText()
public String getConfigurationDialogTitle()
public String getContentAreaBorderTitle()
public boolean canAssertXmlContent()
protected void addMatchEditorActions(JXToolBar toolbar)
protected void addPathEditorActions(JXToolBar toolbar)
public abstract void selectFromCurrent()
protected abstract String getQueryType()
public XPathReference[] getXPathReferences()
getXPathReferences in interface XPathReferenceContainerCopyright © 2019. All Rights Reserved.