com.eviware.soapui.impl.wsdl.teststeps.assertions
Class XPathContainsAssertion

java.lang.Object
  extended by com.eviware.soapui.model.support.AbstractModelItem
      extended by com.eviware.soapui.impl.wsdl.teststeps.WsdlAssertion
          extended by com.eviware.soapui.impl.wsdl.teststeps.assertions.XPathContainsAssertion
All Implemented Interfaces:
ModelItem

public class XPathContainsAssertion
extends WsdlAssertion

Assertion that matches a specified XPath expression and its expected result against the associated WsdlTestRequests response message

Author:
Ole.Matzura

Nested Class Summary
 class XPathContainsAssertion.CancelAction
           
 class XPathContainsAssertion.DeclareNamespacesFromCurrentAction
           
 class XPathContainsAssertion.OkAction
           
 class XPathContainsAssertion.SelectFromCurrentAction
           
 class XPathContainsAssertion.TestPathAction
           
 
Nested classes/interfaces inherited from class com.eviware.soapui.impl.wsdl.teststeps.WsdlAssertion
WsdlAssertion.AssertionStatus, WsdlAssertion.ConfigureAssertionAction, WsdlAssertion.RemoveAssertionAction, WsdlAssertion.RenameAssertionAction
 
Field Summary
 
Fields inherited from class com.eviware.soapui.impl.wsdl.teststeps.WsdlAssertion
CONFIGURATION_PROPERTY, STATUS_PROPERTY
 
Fields inherited from interface com.eviware.soapui.model.ModelItem
ACTIONS_PROPERTY, DESCRIPTION_PROPERTY, ICON_PROPERTY, NAME_PROPERTY
 
Constructor Summary
XPathContainsAssertion(com.eviware.soapui.config.RequestAssertionConfig assertionConfig, WsdlTestRequest request)
           
 
Method Summary
 java.lang.String assertRequest(WsdlTestRequest request)
           
 java.lang.String assertResponse(java.lang.String response)
           
 void configure()
           
 org.apache.xmlbeans.XmlObject createConfiguration()
           
 java.lang.String getContent()
           
 java.lang.String getPath()
           
 boolean isConfigurable()
           
 void setContent(java.lang.String content)
           
 void setPath(java.lang.String path)
           
 
Methods inherited from class com.eviware.soapui.impl.wsdl.teststeps.WsdlAssertion
assertResponse, createTreeNode, getConfiguration, getErrors, getIcon, getName, getRequest, getStatus, setConfiguration, setName, updateConfig
 
Methods inherited from class com.eviware.soapui.model.support.AbstractModelItem
addAction, addPropertyChangeListener, addPropertyChangeListener, getActions, getDescription, getPanelBuilder, getTreeModel, getTreeNode, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, release, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPathContainsAssertion

public XPathContainsAssertion(com.eviware.soapui.config.RequestAssertionConfig assertionConfig,
                              WsdlTestRequest request)
Method Detail

getContent

public java.lang.String getContent()

setContent

public void setContent(java.lang.String content)

getPath

public java.lang.String getPath()

setPath

public void setPath(java.lang.String path)

assertRequest

public java.lang.String assertRequest(WsdlTestRequest request)
                               throws AssertionException
Specified by:
assertRequest in class WsdlAssertion
Throws:
AssertionException

assertResponse

public java.lang.String assertResponse(java.lang.String response)
                                throws AssertionException
Throws:
AssertionException

configure

public void configure()
Overrides:
configure in class WsdlAssertion

createConfiguration

public org.apache.xmlbeans.XmlObject createConfiguration()

isConfigurable

public boolean isConfigurable()
Overrides:
isConfigurable in class WsdlAssertion


Copyright © 2005 eviware.com. All Rights Reserved.