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

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
              extended by com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStepWithProperties
                  extended by com.eviware.soapui.impl.wsdl.teststeps.WsdlDelayTestStep
All Implemented Interfaces:
ModelItem, TestModelItem, TestPropertyHolder, ResultContainer, TestStep, PropertyChangeNotifier

public class WsdlDelayTestStep
extends WsdlTestStepWithProperties

TestStep that delays execution for a number of milliseconds

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
WsdlDelayTestStep(WsdlTestCase testCase, com.eviware.soapui.config.TestStepConfig config, boolean forLoadTest)
           
 
Method Summary
 boolean cancel()
           
 int getDelay()
           
 java.lang.String getLabel()
           
 boolean hasFalse()
           
 void resetConfigOnMove(com.eviware.soapui.config.TestStepConfig config)
          Called from WsdlTestCase when moving a teststep due to no move functionality in xmlbeans generated arrays.
 TestStepResult run(TestRunner testRunner, TestRunContext context)
           
 void setDelay(int delay)
           
 
Methods inherited from class com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStepWithProperties
addProperty, addTestPropertyListener, deleteProperty, firePropertyAdded, firePropertyRemoved, firePropertyRenamed, firePropertyValueChanged, getProperties, getProperty, getPropertyNames, getPropertyValue, hasProperties, hasProperty, propertyRenamed, removeTestPropertyListener, setPropertyValue
 
Methods inherited from class com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStep
clone, createPanelBuilder, dependsOn, finish, getChildren, getModelItem, getRequiredInterfaces, getTestCase, getTestStepTitle, hasEditor, isDisabled, isForLoadTest, prepare, setDisabled, setName
 
Methods inherited from class com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem
afterLoad, afterLoad, beforeSave, getConfig, getDescription, getIcon, getId, getName, getParent, getSettings, getWsdlModelItemByName, release, setConfig, setDescription, setIcon, setSettings
 
Methods inherited from class com.eviware.soapui.model.support.AbstractModelItem
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, 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.ModelItem
getDescription, getIcon, getId, getName, getParent, getSettings
 
Methods inherited from interface com.eviware.soapui.support.PropertyChangeNotifier
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 

Constructor Detail

WsdlDelayTestStep

public WsdlDelayTestStep(WsdlTestCase testCase,
                         com.eviware.soapui.config.TestStepConfig config,
                         boolean forLoadTest)
Method Detail

getLabel

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

resetConfigOnMove

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

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

getDelay

public int getDelay()

setDelay

public void setDelay(int delay)

run

public TestStepResult run(TestRunner testRunner,
                          TestRunContext context)

cancel

public boolean cancel()
Specified by:
cancel in interface TestStep
Overrides:
cancel in class WsdlTestStep

hasFalse

public boolean hasFalse()


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