com.eviware.soapui.impl.wsdl.teststeps
Class WsdlMessageAssertion
java.lang.Object
com.eviware.soapui.model.support.AbstractModelItem
com.eviware.soapui.impl.wsdl.teststeps.WsdlMessageAssertion
- All Implemented Interfaces:
- ModelItem, PropertyExpansionContainer, TestAssertion, PropertyChangeNotifier
- Direct Known Subclasses:
- GroovyScriptAssertion, NotSoapFaultAssertion, ResponseSLAAssertion, SchemaComplianceAssertion, SimpleContainsAssertion, SimpleNotContainsAssertion, SoapFaultAssertion, SoapResponseAssertion, WSARequestAssertion, WSAResponseAssertion, WSSStatusAssertion, XPathContainsAssertion, XQueryContainsAssertion
public abstract class WsdlMessageAssertion
- extends AbstractModelItem
- implements PropertyExpansionContainer, TestAssertion
Base class for WsdlAssertions
- Author:
- Ole.Matzura
Constructor Summary |
protected |
WsdlMessageAssertion(com.eviware.soapui.config.TestAssertionConfig assertionConfig,
Assertable modelItem,
boolean cloneable,
boolean configurable,
boolean multiple,
boolean requiresResponseContent)
|
Methods inherited from class com.eviware.soapui.model.support.AbstractModelItem |
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, getChildren, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WsdlMessageAssertion
protected WsdlMessageAssertion(com.eviware.soapui.config.TestAssertionConfig assertionConfig,
Assertable modelItem,
boolean cloneable,
boolean configurable,
boolean multiple,
boolean requiresResponseContent)
getConfiguration
public org.apache.xmlbeans.XmlObject getConfiguration()
setConfiguration
public void setConfiguration(org.apache.xmlbeans.XmlObject configuration)
getName
public java.lang.String getName()
- Specified by:
getName
in interface ModelItem
getStatus
public Assertable.AssertionStatus getStatus()
- Specified by:
getStatus
in interface TestAssertion
getErrors
public AssertionError[] getErrors()
- Specified by:
getErrors
in interface TestAssertion
isAllowMultiple
public boolean isAllowMultiple()
- Specified by:
isAllowMultiple
in interface TestAssertion
assertResponse
public Assertable.AssertionStatus assertResponse(MessageExchange messageExchange,
SubmitContext context)
internalAssertResponse
protected abstract java.lang.String internalAssertResponse(MessageExchange messageExchange,
SubmitContext context)
throws AssertionException
- Throws:
AssertionException
assertRequest
public Assertable.AssertionStatus assertRequest(MessageExchange messageExchange,
SubmitContext context)
internalAssertRequest
protected abstract java.lang.String internalAssertRequest(MessageExchange messageExchange,
SubmitContext context)
throws AssertionException
- Throws:
AssertionException
isConfigurable
public boolean isConfigurable()
- Specified by:
isConfigurable
in interface TestAssertion
isClonable
public boolean isClonable()
- Specified by:
isClonable
in interface TestAssertion
configure
public boolean configure()
- Specified by:
configure
in interface TestAssertion
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interface ModelItem
getIcon
public javax.swing.ImageIcon getIcon()
- Specified by:
getIcon
in interface ModelItem
updateConfig
public void updateConfig(com.eviware.soapui.config.TestAssertionConfig config)
getConfig
public com.eviware.soapui.config.TestAssertionConfig getConfig()
getSettings
public Settings getSettings()
- Specified by:
getSettings
in interface ModelItem
release
public void release()
getAssertable
public Assertable getAssertable()
- Specified by:
getAssertable
in interface TestAssertion
getId
public java.lang.String getId()
- Specified by:
getId
in interface ModelItem
getPropertyExpansions
public PropertyExpansion[] getPropertyExpansions()
- Specified by:
getPropertyExpansions
in interface PropertyExpansionContainer
setName
public void setName(java.lang.String name)
getLabel
public java.lang.String getLabel()
- Specified by:
getLabel
in interface TestAssertion
isDisabled
public boolean isDisabled()
- Specified by:
isDisabled
in interface TestAssertion
setDisabled
public void setDisabled(boolean disabled)
getParent
public ModelItem getParent()
- Specified by:
getParent
in interface ModelItem
isValid
public boolean isValid()
isFailed
public boolean isFailed()
prepare
public void prepare(TestRunner testRunner,
TestRunContext testRunContext)
throws java.lang.Exception
- Specified by:
prepare
in interface TestAssertion
- Throws:
java.lang.Exception
resolve
public void resolve(ResolveContext context)
Copyright © 2005-2008 eviware.com. All Rights Reserved.