public class WsdlTestSuite extends AbstractTestPropertyHolderWsdlModelItem<TestSuiteConfig> implements TestSuite
TestSuite.TestSuiteRunType
Modifier and Type | Field and Description |
---|---|
static String |
ICON_NAME |
static String |
SETUP_SCRIPT_PROPERTY |
static String |
TEARDOWN_SCRIPT_PROPERTY |
DISABLED_PROPERTY, RUNTYPE_PROPERTY
DESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY
Constructor and Description |
---|
WsdlTestSuite(WsdlProject project,
TestSuiteConfig config) |
addPropertiesFromFile, addProperty, addTestPropertyListener, getModelItem, getProperties, getPropertiesLabel, getProperty, getPropertyAt, getPropertyCount, getPropertyHolderSupport, getPropertyList, getPropertyNames, getPropertyValue, hasProperty, moveProperty, removeProperty, removeTestPropertyListener, renameProperty, setPropertiesConfig, setPropertyValue
addExternalDependencies, afterLoad, beforeSave, dependsOn, getConfig, getDescription, getExternalDependencies, getIcon, getId, getName, getParent, getSettings, getWsdlModelItemById, getWsdlModelItemByName, resolve, setConfig, setDescription, setIcon, setSettings
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addTestPropertyListener, getModelItem, getProperties, getPropertiesLabel, getProperty, getPropertyAt, getPropertyCount, getPropertyList, getPropertyNames, getPropertyValue, hasProperty, removeTestPropertyListener, setPropertyValue
getModelItem
getDescription, getIcon, getId, getName, getParent, getSettings
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
public static final String SETUP_SCRIPT_PROPERTY
public static final String TEARDOWN_SCRIPT_PROPERTY
public static final String ICON_NAME
public WsdlTestSuite(WsdlProject project, TestSuiteConfig config)
public WsdlTestCase buildTestCase(TestCaseConfig testCaseConfig, boolean forLoadTest)
public TestSuite.TestSuiteRunType getRunType()
getRunType
in interface TestSuite
public void setRunType(TestSuite.TestSuiteRunType runType)
public WsdlProject getProject()
ModelItem
Workspace
object, an UnsupportedOperationException
is thrown.getProject
in interface ModelItem
getProject
in interface TestSuite
getProject
in class AbstractModelItem
public int getTestCaseCount()
getTestCaseCount
in interface TestSuite
public WsdlTestCase getTestCaseAt(int index)
getTestCaseAt
in interface TestSuite
public WsdlTestCase getTestCaseByName(String testCaseName)
getTestCaseByName
in interface TestSuite
public TestCase getTestCaseById(UUID testCaseId)
getTestCaseById
in interface TestSuite
public WsdlTestCase cloneTestCase(WsdlTestCase testCase, String name)
public WsdlTestCase addNewTestCase(String name)
public WsdlTestCase importTestCase(WsdlTestCase testCase, String name, int index, boolean includeLoadTests, boolean includeSecurityTests, boolean createCopy)
public void removeTestCase(WsdlTestCase testCase)
public void fireTestCaseAdded(WsdlTestCase testCase)
public void fireTestCaseRemoved(WsdlTestCase testCase)
public void fireTestStepAdded(WsdlTestStep testStep, int index)
public void fireTestStepRemoved(WsdlTestStep testStep, int ix)
public void fireTestStepMoved(WsdlTestStep testStep, int ix, int offset)
public void fireLoadTestAdded(WsdlLoadTest loadTest)
public void fireLoadTestRemoved(WsdlLoadTest loadTest)
public void addTestSuiteListener(TestSuiteListener listener)
addTestSuiteListener
in interface TestSuite
public void removeTestSuiteListener(TestSuiteListener listener)
removeTestSuiteListener
in interface TestSuite
public void addTestSuiteRunListener(TestSuiteRunListener listener)
addTestSuiteRunListener
in interface TestSuite
public void removeTestSuiteRunListener(TestSuiteRunListener listener)
removeTestSuiteRunListener
in interface TestSuite
public int getTestCaseIndex(TestCase testCase)
public void release()
release
in interface Releasable
release
in class AbstractWsdlModelItem<TestSuiteConfig>
public List<TestCase> getTestCaseList()
getTestCaseList
in interface TestSuite
public WsdlTestCase moveTestCase(int ix, int offset)
ix
- offset
- public int getIndexOfTestCase(TestCase testCase)
getIndexOfTestCase
in interface TestSuite
public List<? extends ModelItem> getChildren()
getChildren
in interface ModelItem
getChildren
in class AbstractModelItem
public void setSetupScript(String script)
public String getSetupScript()
public void setTearDownScript(String script)
public String getTearDownScript()
public Object runSetupScript(TestSuiteRunContext context, TestSuiteRunner runner) throws Exception
Exception
public Object runTearDownScript(TestSuiteRunContext context, TestSuiteRunner runner) throws Exception
Exception
public void setName(String name)
setName
in class AbstractWsdlModelItem<TestSuiteConfig>
public boolean isFailOnErrors()
public void setFailOnErrors(boolean failOnErrors)
public boolean isAbortOnError()
public void setAbortOnError(boolean abortOnError)
public long getTimeout()
public void setTimeout(long timeout)
public boolean isDisabled()
isDisabled
in interface TestSuite
public void setDisabled(boolean disabled)
public void replace(WsdlTestCase testCase, TestCaseConfig newTestCase)
public void importTestCase(File file)
public void export(File file)
public void afterCopy(WsdlTestSuite oldTestSuite)
public WsdlTestSuiteRunner run(StringToObjectMap context, boolean async)
run
in interface TestRunnable
run
in interface TestSuite
public TestSuiteRunListener[] getTestSuiteRunListeners()
public void resetConfigOnMove(TestSuiteConfig testSuiteConfig)
public void fireSecurityTestAdded(SecurityTest securityTest)
public void fireSecurityTestRemoved(SecurityTest securityTest)
Copyright © 2019. All Rights Reserved.