public class XPathContainsAssertion extends WsdlMessageAssertion implements RequestAssertion, ResponseAssertion, XPathReferenceContainer
| Modifier and Type | Class and Description |
|---|---|
class |
XPathContainsAssertion.CancelAction |
class |
XPathContainsAssertion.DeclareNamespacesFromCurrentAction |
static class |
XPathContainsAssertion.Factory |
class |
XPathContainsAssertion.OkAction |
class |
XPathContainsAssertion.SelectFromCurrentAction |
class |
XPathContainsAssertion.TestPathAction |
| Modifier and Type | Field and Description |
|---|---|
static String |
DESCRIPTION |
static String |
ID |
static String |
LABEL |
assertionErrors, assertionStatusCONFIGURATION_PROPERTY, DISABLED_PROPERTY, ERRORS_PROPERTY, STATUS_PROPERTYDESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY| Constructor and Description |
|---|
XPathContainsAssertion(TestAssertionConfig assertionConfig,
Assertable assertable) |
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, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitassertRequestassertResponsegetChildrenaddPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListenerpublic static final String ID
public static final String LABEL
public static final String DESCRIPTION
public XPathContainsAssertion(TestAssertionConfig assertionConfig, Assertable assertable)
public String getExpectedContent()
public void setExpectedContent(String expectedContent)
@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)
protected String internalAssertResponse(MessageExchange messageExchange, SubmitContext context) throws AssertionException
internalAssertResponse in class WsdlMessageAssertionAssertionExceptionprotected String internalAssertProperty(TestPropertyHolder source, String propertyName, MessageExchange messageExchange, SubmitContext context) throws AssertionException
internalAssertProperty in class WsdlMessageAssertionAssertionExceptionpublic String assertContent(String response, SubmitContext context, String type) throws AssertionException
AssertionExceptionpublic boolean configure()
configure in interface TestAssertionconfigure in class WsdlMessageAssertionprotected void buildConfigurationDialog()
protected void addPathEditorActions(JXToolBar toolbar)
protected void addMatchEditorActions(JXToolBar toolbar)
public org.apache.xmlbeans.XmlObject createConfiguration()
public void selectFromCurrent()
protected String internalAssertRequest(MessageExchange messageExchange, SubmitContext context) throws AssertionException
internalAssertRequest in class WsdlMessageAssertionAssertionExceptionpublic JTextArea getContentArea()
public JTextArea getPathArea()
public PropertyExpansion[] getPropertyExpansions()
getPropertyExpansions in interface PropertyExpansionContainergetPropertyExpansions in class WsdlMessageAssertionpublic XPathReference[] getXPathReferences()
getXPathReferences in interface XPathReferenceContainerCopyright © 2013. All Rights Reserved.