public class XPathContainsAssertion extends AbstractXmlContainsAssertion
Modifier and Type | Class and Description |
---|---|
static class |
XPathContainsAssertion.Factory |
AbstractXmlContainsAssertion.InternalDifferenceListener
Modifier and Type | Field and Description |
---|---|
static String |
DESCRIPTION |
static String |
ID |
static String |
LABEL |
allowWildcards, configurationDialog, expectedContent, ignoreComments, ignoreNamespaceDifferences, path
assertionErrors, assertionStatus
CONFIGURATION_PROPERTY, DISABLED_PROPERTY, ERRORS_PROPERTY, STATUS_PROPERTY
DESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY
Constructor and Description |
---|
XPathContainsAssertion(TestAssertionConfig assertionConfig,
Assertable assertable) |
Modifier and Type | Method and Description |
---|---|
String |
assertContent(String response,
SubmitContext context,
String type) |
String |
getHelpURL() |
protected String |
getQueryType() |
void |
selectFromCurrent() |
addConfigurationValues, addMatchEditorActions, addPathEditorActions, canAssertXmlContent, configure, createConfiguration, getAssertion, getConfigurationDialogTitle, getContentArea, getContentAreaBorderTitle, getContentAreaToolTipText, getExpectedContent, getPath, getPathArea, getPathAreaBorderTitle, getPathAreaDescription, getPathAreaTitle, getPathAreaToolTipText, getPropertyExpansions, getXPathReferences, internalAssertProperty, internalAssertRequest, internalAssertResponse, isAllowWildcards, isIgnoreComments, isIgnoreNamespaceDifferences, setAllowWildcards, setContent, setExpectedContent, setExpectedContent, setIgnoreComments, setIgnoreNamespaceDifferences, setPath
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, updateConfig
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, getChildren, getProject, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
assertRequest
assertResponse
getChildren, getProject
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
public static final String ID
public static final String LABEL
public static final String DESCRIPTION
public XPathContainsAssertion(TestAssertionConfig assertionConfig, Assertable assertable)
public String assertContent(String response, SubmitContext context, String type) throws AssertionException
assertContent
in class AbstractXmlContainsAssertion
AssertionException
public String getHelpURL()
public void selectFromCurrent()
selectFromCurrent
in class AbstractXmlContainsAssertion
protected String getQueryType()
getQueryType
in class AbstractXmlContainsAssertion
Copyright © 2019. All Rights Reserved.