public abstract class WsdlMessageAssertion extends AbstractModelItem implements PropertyExpansionContainer, TestAssertion
Modifier and Type | Field and Description |
---|---|
protected AssertionError[] |
assertionErrors |
protected Assertable.AssertionStatus |
assertionStatus |
CONFIGURATION_PROPERTY, DISABLED_PROPERTY, ERRORS_PROPERTY, STATUS_PROPERTY
DESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY
Modifier | Constructor and Description |
---|---|
protected |
WsdlMessageAssertion(TestAssertionConfig assertionConfig,
Assertable modelItem,
boolean cloneable,
boolean configurable,
boolean multiple,
boolean requiresResponseContent) |
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, getChildren, getProject, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildren, getProject
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
protected Assertable.AssertionStatus assertionStatus
protected AssertionError[] assertionErrors
protected WsdlMessageAssertion(TestAssertionConfig assertionConfig, Assertable modelItem, boolean cloneable, boolean configurable, boolean multiple, boolean requiresResponseContent)
public org.apache.xmlbeans.XmlObject getConfiguration()
public void setConfiguration(org.apache.xmlbeans.XmlObject configuration)
public Assertable.AssertionStatus getStatus()
getStatus
in interface TestAssertion
public AssertionError[] getErrors()
getErrors
in interface TestAssertion
public boolean isAllowMultiple()
isAllowMultiple
in interface TestAssertion
public Assertable.AssertionStatus assertResponse(MessageExchange messageExchange, SubmitContext context)
protected abstract String internalAssertResponse(MessageExchange messageExchange, SubmitContext context) throws AssertionException
AssertionException
public Assertable.AssertionStatus assertRequest(MessageExchange messageExchange, SubmitContext context)
public Assertable.AssertionStatus assertProperty(TestPropertyHolder source, String propertyName, MessageExchange messageExchange, SubmitContext context)
protected abstract String internalAssertRequest(MessageExchange messageExchange, SubmitContext context) throws AssertionException
AssertionException
protected abstract String internalAssertProperty(TestPropertyHolder source, String propertyName, MessageExchange messageExchange, SubmitContext context) throws AssertionException
AssertionException
public boolean isConfigurable()
isConfigurable
in interface TestAssertion
public boolean isClonable()
isClonable
in interface TestAssertion
public boolean configure()
configure
in interface TestAssertion
public String getDescription()
getDescription
in interface ModelItem
public void updateConfig(TestAssertionConfig config)
public TestAssertionConfig getConfig()
public Settings getSettings()
getSettings
in interface ModelItem
public void release()
public Assertable getAssertable()
getAssertable
in interface TestAssertion
public void setAssertable(Assertable assertable)
public PropertyExpansion[] getPropertyExpansions()
getPropertyExpansions
in interface PropertyExpansionContainer
public void setName(String name)
public String getLabel()
getLabel
in interface TestAssertion
public boolean isDisabled()
isDisabled
in interface TestAssertion
public void setDisabled(boolean disabled)
public boolean isValid()
public boolean isFailed()
public void prepare(TestCaseRunner testRunner, TestCaseRunContext testRunContext) throws Exception
prepare
in interface TestAssertion
Exception
public int getIndexOfAssertion(TestAssertion assertion)
getIndexOfAssertion
in interface TestAssertion
public void resolve(ResolveContext<?> context)
Copyright © 2019. All Rights Reserved.