com.eviware.soapui.impl.wsdl.teststeps.assertions.basic
Class SimpleNotContainsAssertion

java.lang.Object
  extended by com.eviware.soapui.model.support.AbstractModelItem
      extended by com.eviware.soapui.impl.wsdl.teststeps.WsdlMessageAssertion
          extended by com.eviware.soapui.impl.wsdl.teststeps.assertions.basic.SimpleNotContainsAssertion
All Implemented Interfaces:
ModelItem, PropertyExpansionContainer, RequestAssertion, ResponseAssertion, TestAssertion, PropertyChangeNotifier

public class SimpleNotContainsAssertion
extends WsdlMessageAssertion
implements RequestAssertion, ResponseAssertion

Assertion that checks for the non-existence of a specified text token in the associated WsdlTestRequests response message

Author:
Ole.Matzura

Nested Class Summary
static class SimpleNotContainsAssertion.Factory
           
 
Field Summary
static java.lang.String ID
           
static java.lang.String LABEL
           
 
Fields inherited from interface com.eviware.soapui.model.testsuite.TestAssertion
CONFIGURATION_PROPERTY, DISABLED_PROPERTY, ERRORS_PROPERTY, STATUS_PROPERTY
 
Fields inherited from interface com.eviware.soapui.model.ModelItem
DESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY
 
Constructor Summary
SimpleNotContainsAssertion(com.eviware.soapui.config.TestAssertionConfig assertionConfig, Assertable assertable)
           
 
Method Summary
 boolean configure()
           
protected  org.apache.xmlbeans.XmlObject createConfiguration()
           
 PropertyExpansion[] getPropertyExpansions()
           
 java.lang.String getToken()
           
protected  java.lang.String internalAssertRequest(MessageExchange messageExchange, SubmitContext context)
           
 java.lang.String internalAssertResponse(MessageExchange messageExchange, SubmitContext context)
           
 boolean isIgnoreCase()
           
 void setIgnoreCase(boolean ignoreCase)
           
 void setToken(java.lang.String token)
           
 
Methods inherited from class com.eviware.soapui.impl.wsdl.teststeps.WsdlMessageAssertion
assertRequest, assertResponse, getAssertable, getConfig, getConfiguration, getDescription, getErrors, getIcon, getId, getLabel, getName, getParent, getSettings, getStatus, isAllowMultiple, isClonable, isConfigurable, isDisabled, isFailed, isValid, prepare, release, resolve, setConfiguration, setDisabled, setName, updateConfig
 
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
 
Methods inherited from interface com.eviware.soapui.model.testsuite.RequestAssertion
assertRequest
 
Methods inherited from interface com.eviware.soapui.model.testsuite.ResponseAssertion
assertResponse
 
Methods inherited from interface com.eviware.soapui.model.ModelItem
getChildren
 
Methods inherited from interface com.eviware.soapui.support.PropertyChangeNotifier
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 

Field Detail

ID

public static final java.lang.String ID
See Also:
Constant Field Values

LABEL

public static final java.lang.String LABEL
See Also:
Constant Field Values
Constructor Detail

SimpleNotContainsAssertion

public SimpleNotContainsAssertion(com.eviware.soapui.config.TestAssertionConfig assertionConfig,
                                  Assertable assertable)
Method Detail

internalAssertResponse

public java.lang.String internalAssertResponse(MessageExchange messageExchange,
                                               SubmitContext context)
                                        throws AssertionException
Specified by:
internalAssertResponse in class WsdlMessageAssertion
Throws:
AssertionException

configure

public boolean configure()
Specified by:
configure in interface TestAssertion
Overrides:
configure in class WsdlMessageAssertion

createConfiguration

protected org.apache.xmlbeans.XmlObject createConfiguration()

internalAssertRequest

protected java.lang.String internalAssertRequest(MessageExchange messageExchange,
                                                 SubmitContext context)
                                          throws AssertionException
Specified by:
internalAssertRequest in class WsdlMessageAssertion
Throws:
AssertionException

isIgnoreCase

public boolean isIgnoreCase()

setIgnoreCase

public void setIgnoreCase(boolean ignoreCase)

getToken

public java.lang.String getToken()

setToken

public void setToken(java.lang.String token)

getPropertyExpansions

public PropertyExpansion[] getPropertyExpansions()
Specified by:
getPropertyExpansions in interface PropertyExpansionContainer
Overrides:
getPropertyExpansions in class WsdlMessageAssertion


Copyright © 2005-2008 eviware.com. All Rights Reserved.