public abstract class JsonPathAssertionBase extends XPathContainsAssertion
Modifier and Type | Class and Description |
---|---|
static class |
JsonPathAssertionBase.JsonAssertionFactory |
XPathContainsAssertion.Factory
AbstractXmlContainsAssertion.InternalDifferenceListener
DESCRIPTION, ID, 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 |
---|
JsonPathAssertionBase(TestAssertionConfig assertionConfig,
Assertable assertable) |
Modifier and Type | Method and Description |
---|---|
boolean |
canAssertXmlContent() |
String |
getContentAreaBorderTitle() |
String |
getContentAreaToolTipText() |
String |
getPathAreaBorderTitle() |
String |
getPathAreaDescription() |
String |
getPathAreaTitle() |
String |
getPathAreaToolTipText() |
protected String |
getPathString() |
protected PropertyExpansionContext |
getPropertyExpansionContext() |
protected String |
internalAssertProperty(TestPropertyHolder source,
String propertyName,
MessageExchange messageExchange,
SubmitContext context) |
protected String |
internalAssertRequest(MessageExchange messageExchange,
SubmitContext context) |
protected String |
internalAssertResponse(MessageExchange messageExchange,
SubmitContext context) |
protected String |
readStringValue(String assertableContent,
String expandedPath) |
protected void |
throwAssertionException(String path,
Throwable exception) |
assertContent, getHelpURL, getQueryType, selectFromCurrent
addConfigurationValues, addMatchEditorActions, addPathEditorActions, configure, createConfiguration, getAssertion, getConfigurationDialogTitle, getContentArea, getExpectedContent, getPath, getPathArea, getPropertyExpansions, getXPathReferences, 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 JsonPathAssertionBase(TestAssertionConfig assertionConfig, Assertable assertable)
protected String internalAssertResponse(MessageExchange messageExchange, SubmitContext context) throws AssertionException
internalAssertResponse
in class AbstractXmlContainsAssertion
AssertionException
protected String internalAssertRequest(MessageExchange messageExchange, SubmitContext context) throws AssertionException
internalAssertRequest
in class AbstractXmlContainsAssertion
AssertionException
protected String internalAssertProperty(TestPropertyHolder source, String propertyName, MessageExchange messageExchange, SubmitContext context) throws AssertionException
internalAssertProperty
in class AbstractXmlContainsAssertion
AssertionException
protected PropertyExpansionContext getPropertyExpansionContext()
public boolean canAssertXmlContent()
canAssertXmlContent
in class AbstractXmlContainsAssertion
protected void throwAssertionException(String path, Throwable exception) throws AssertionException
AssertionException
public String getPathAreaTitle()
getPathAreaTitle
in class AbstractXmlContainsAssertion
public String getPathAreaDescription()
getPathAreaDescription
in class AbstractXmlContainsAssertion
public String getPathAreaToolTipText()
getPathAreaToolTipText
in class AbstractXmlContainsAssertion
public String getPathAreaBorderTitle()
getPathAreaBorderTitle
in class AbstractXmlContainsAssertion
public String getContentAreaToolTipText()
getContentAreaToolTipText
in class AbstractXmlContainsAssertion
public String getContentAreaBorderTitle()
getContentAreaBorderTitle
in class AbstractXmlContainsAssertion
protected String getPathString()
Copyright © 2019. All Rights Reserved.