com.eviware.soapui.impl.wsdl.teststeps
Class WsdlTestStep

java.lang.Object
  extended by com.eviware.soapui.model.support.AbstractModelItem
      extended by com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem<com.eviware.soapui.config.TestStepConfig>
          extended by com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStep
All Implemented Interfaces:
ModelItem, TestModelItem, TestPropertyHolder, ResultContainer, TestStep, PropertyChangeNotifier
Direct Known Subclasses:
WsdlPropertiesTestStep, WsdlRunTestCaseTestStep, WsdlTestStepWithProperties

public abstract class WsdlTestStep
extends AbstractWsdlModelItem<com.eviware.soapui.config.TestStepConfig>
implements TestStep

Base class for WSDL TestCase test steps.

Author:
Ole.Matzura

Field Summary
 
Fields inherited from interface com.eviware.soapui.model.testsuite.TestStep
DISABLED_PROPERTY
 
Fields inherited from interface com.eviware.soapui.model.ModelItem
DESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY
 
Constructor Summary
protected WsdlTestStep(WsdlTestCase testCase, com.eviware.soapui.config.TestStepConfig config, boolean hasEditor, boolean forLoadTest)
           
 
Method Summary
 void afterCopy(WsdlTestSuite oldTestSuite, WsdlTestCase oldTestCase)
           
 boolean cancel()
           
 WsdlTestStep clone(WsdlTestCase targetTestCase, java.lang.String name)
          Called after cloning for custom behaviour
protected  PanelBuilder<?> createPanelBuilder()
           
 boolean dependsOn(AbstractWsdlModelItem<?> modelItem)
           
 void finish(TestCaseRunner testRunner, TestCaseRunContext testRunContext)
           
 java.lang.String getDefaultSourcePropertyName()
          Default property to use when creating property-transfers where this step is source
 java.lang.String getDefaultTargetPropertyName()
          Default property to use when creating property-transfers where this step is target
 java.lang.String getLabel()
           
 ModelItem getModelItem()
           
 java.lang.String getPropertiesLabel()
           
 java.util.Collection<Interface> getRequiredInterfaces()
           
 WsdlTestCase getTestCase()
           
 java.lang.String getTestStepTitle()
           
 boolean hasEditor()
           
 boolean isDisabled()
           
 boolean isForLoadTest()
           
 void prepare(TestCaseRunner testRunner, TestCaseRunContext testRunContext)
           
 void resetConfigOnMove(com.eviware.soapui.config.TestStepConfig config)
          Called from WsdlTestCase when moving a teststep due to no move functionality in xmlbeans generated arrays.
 void setDisabled(boolean disabled)
           
 void setName(java.lang.String name)
           
 
Methods inherited from class com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem
afterLoad, beforeSave, dependsOn, getConfig, getDescription, getIcon, getId, getName, getParent, getSettings, getWsdlModelItemByName, release, resolve, setConfig, setDescription, setIcon, setSettings
 
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.TestStep
run
 
Methods inherited from interface com.eviware.soapui.model.ModelItem
getChildren, getDescription, getIcon, getId, getName, getParent, getSettings
 
Methods inherited from interface com.eviware.soapui.support.PropertyChangeNotifier
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from interface com.eviware.soapui.model.TestPropertyHolder
addTestPropertyListener, getProperties, getProperty, getPropertyAt, getPropertyCount, getPropertyList, getPropertyNames, getPropertyValue, hasProperty, removeTestPropertyListener, setPropertyValue
 

Constructor Detail

WsdlTestStep

protected WsdlTestStep(WsdlTestCase testCase,
                       com.eviware.soapui.config.TestStepConfig config,
                       boolean hasEditor,
                       boolean forLoadTest)
Method Detail

hasEditor

public boolean hasEditor()

isForLoadTest

public boolean isForLoadTest()

createPanelBuilder

protected PanelBuilder<?> createPanelBuilder()

getTestCase

public WsdlTestCase getTestCase()
Specified by:
getTestCase in interface TestStep

resetConfigOnMove

public void resetConfigOnMove(com.eviware.soapui.config.TestStepConfig config)
Called from WsdlTestCase when moving a teststep due to no move functionality in xmlbeans generated arrays.

Parameters:
config - the new config to use, will be a copy of the existing one. The current will be invalid

cancel

public boolean cancel()
Specified by:
cancel in interface TestStep

getLabel

public java.lang.String getLabel()
Specified by:
getLabel in interface TestStep

setName

public void setName(java.lang.String name)
Overrides:
setName in class AbstractWsdlModelItem<com.eviware.soapui.config.TestStepConfig>

dependsOn

public boolean dependsOn(AbstractWsdlModelItem<?> modelItem)

getTestStepTitle

public java.lang.String getTestStepTitle()

clone

public WsdlTestStep clone(WsdlTestCase targetTestCase,
                          java.lang.String name)
Called after cloning for custom behaviour

Parameters:
targetTestCase - step we were cloned from

finish

public void finish(TestCaseRunner testRunner,
                   TestCaseRunContext testRunContext)
Specified by:
finish in interface TestStep

prepare

public void prepare(TestCaseRunner testRunner,
                    TestCaseRunContext testRunContext)
             throws java.lang.Exception
Specified by:
prepare in interface TestStep
Throws:
java.lang.Exception

getRequiredInterfaces

public java.util.Collection<Interface> getRequiredInterfaces()

isDisabled

public boolean isDisabled()
Specified by:
isDisabled in interface TestStep

setDisabled

public void setDisabled(boolean disabled)

getModelItem

public ModelItem getModelItem()
Specified by:
getModelItem in interface TestPropertyHolder

getPropertiesLabel

public java.lang.String getPropertiesLabel()
Specified by:
getPropertiesLabel in interface TestPropertyHolder

getDefaultSourcePropertyName

public java.lang.String getDefaultSourcePropertyName()
Default property to use when creating property-transfers where this step is source


getDefaultTargetPropertyName

public java.lang.String getDefaultTargetPropertyName()
Default property to use when creating property-transfers where this step is target


afterCopy

public void afterCopy(WsdlTestSuite oldTestSuite,
                      WsdlTestCase oldTestCase)


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