public class AssertionTestStep extends com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStepWithProperties implements com.eviware.soapui.model.testsuite.Assertable, AssertionEntryMarker
Modifier and Type | Field and Description |
---|---|
static String |
ICON_NAME |
static String |
ROOT_GROUP |
static String |
TEST_STEP_RESULTS |
Constructor and Description |
---|
AssertionTestStep(com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase testCase,
com.eviware.soapui.config.TestStepConfig config,
boolean forLoadTest) |
Modifier and Type | Method and Description |
---|---|
void |
addAssertion(AssertionEntry entry,
AssertionEntryMarker parent) |
com.eviware.soapui.model.testsuite.TestAssertion |
addAssertion(String selection) |
void |
addAssertionEntry(AssertionEntry entry) |
void |
addAssertionsListener(com.eviware.soapui.model.testsuite.AssertionsListener listener) |
void |
addAssertionTestStepListener(AssertionEntryListener listener) |
void |
afterCopy(com.eviware.soapui.impl.wsdl.WsdlTestSuite oldTestSuite,
com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase oldTestCase) |
void |
beforeSave() |
boolean |
checkForUniqueName(String name) |
boolean |
checkForUniqueName(String name,
String oldName)
check for unique name for assertion If oldName is provided excludes it
from checklist
|
com.eviware.soapui.model.testsuite.TestAssertion |
cloneAssertion(com.eviware.soapui.model.testsuite.TestAssertion source,
String name) |
void |
fireStepAssertionEntryAdded(AssertionEntry entry,
AssertionEntryMarker parent) |
void |
fireStepAssertionEntryRemoved(AssertionEntry assertionEntry,
AssertionEntryMarker parent) |
String |
getAssertableContent() |
String |
getAssertableContentAsXml() |
com.eviware.soapui.impl.wsdl.teststeps.assertions.TestAssertionRegistry.AssertableType |
getAssertableType() |
com.eviware.soapui.model.testsuite.TestAssertion |
getAssertionAt(int index) |
com.eviware.soapui.impl.wsdl.teststeps.WsdlMessageAssertion |
getAssertionByName(String name) |
AssertionEntry |
getAssertionByName(String name,
String assertionTestStepId) |
int |
getAssertionCount() |
AssertionEntry |
getAssertionEntryAt(int index) |
int |
getAssertionEntryCount() |
List<AssertionEntry> |
getAssertionEntryList() |
List<AssertionEntry> |
getAssertionGroups() |
List<AssertionEntry> |
getAssertionGroups(AssertionEntry group)
return list off all groups except group and its children groups
|
List<com.eviware.soapui.model.testsuite.TestAssertion> |
getAssertionList() |
Map<String,com.eviware.soapui.model.testsuite.TestAssertion> |
getAssertions() |
int |
getAssertionsCountForSource(com.eviware.soapui.model.TestModelItem source) |
com.eviware.soapui.model.testsuite.Assertable.AssertionStatus |
getAssertionStatus() |
String |
getDefaultAssertableContent() |
int |
getFirstLevelAssertionCount() |
int |
getIndexOfAssertion(AssertionEntry assertionEntry) |
com.eviware.soapui.model.iface.Interface |
getInterface() |
long |
getNumberOfFailedAssertions() |
com.eviware.soapui.model.testsuite.TestStep |
getTestStep() |
boolean |
groupAssertions(List<AssertionEntry> assertionEntryList,
AssertionEntry parentAssertionEntry) |
com.eviware.soapui.model.testsuite.TestAssertion |
moveAssertion(int ix,
int offset) |
void |
moveToGroup(String groupName,
AssertionEntry assertionEntry,
AssertionEntry oldParentGroupEntry) |
void |
reevaluate() |
void |
release() |
void |
removeAssertion(com.eviware.soapui.model.testsuite.TestAssertion assertion) |
void |
removeAssertionEntriesBySourceId(AssertionEntry entry,
String sourceId) |
void |
removeAssertionEntriesBySourceId(String sourceId) |
void |
removeAssertionEntry(AssertionEntry assertionEntry) |
void |
removeAssertionsListener(com.eviware.soapui.model.testsuite.AssertionsListener listener) |
void |
removeAssertionTestStepListener(AssertionEntryListener listener) |
void |
resetConfigOnMove(com.eviware.soapui.config.TestStepConfig config) |
com.eviware.soapui.model.testsuite.TestStepResult |
run(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner,
com.eviware.soapui.model.testsuite.TestCaseRunContext testRunContext) |
String |
suggestNumberAfterName(String type) |
void |
updateConfig() |
addProperty, addProperty, addTestPropertyListener, createNoLicenseResult, deleteProperty, firePropertiesAdded, firePropertiesRemoved, firePropertyAdded, firePropertyMoved, firePropertyRemoved, firePropertyRenamed, firePropertyValueChanged, getFailedResultBasedOnRunContext, getProperties, getProperty, getPropertyAt, getPropertyCount, getPropertyList, getPropertyNames, getPropertyValue, hasProperties, hasProperty, moveProperty, moveProperty, propertyRenamed, removeTestPropertyListener, setPropertyValue
afterCreateFromGUI, cancel, clone, createPanelBuilder, dependsOn, finish, getDefaultSourcePropertyName, getDefaultTargetPropertyName, getLabel, getModelItem, getPropertiesLabel, getRequiredInterfaces, getTestCase, getTestStepTitle, hasEditor, isDisabled, isForLoadTest, prepare, setDisabled, setName
addExternalDependencies, afterLoad, afterSave, clearIdCache, createEventBusMessage, dependsOn, getConfig, getDescription, getExternalAction, getExternalDependencies, getIcon, getId, getName, getParent, getSettings, getWsdlModelItemById, getWsdlModelItemByName, initItemOrder, initWsdlModelItemOrder, resetConfigOnMove, resolve, setConfig, setDescription, setExternalAction, setIcon, setSettings
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, getChildren, getDashboardDbId, getProject, isNotifyPropertyChanged, notifyPropertyChanged, removeModelItemFromConfig, removePropertyChangeListener, removePropertyChangeListener, setDashboardDbId, setNotifyPropertyChanged
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final String ICON_NAME
public static final String TEST_STEP_RESULTS
public static final String ROOT_GROUP
public AssertionTestStep(com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase testCase, com.eviware.soapui.config.TestStepConfig config, boolean forLoadTest)
public void addAssertion(AssertionEntry entry, AssertionEntryMarker parent)
public void removeAssertionEntry(AssertionEntry assertionEntry)
public List<AssertionEntry> getAssertionEntryList()
public int getAssertionEntryCount()
public AssertionEntry getAssertionEntryAt(int index)
public int getFirstLevelAssertionCount()
public int getIndexOfAssertion(AssertionEntry assertionEntry)
public com.eviware.soapui.model.testsuite.TestStepResult run(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner, com.eviware.soapui.model.testsuite.TestCaseRunContext testRunContext)
run
in interface com.eviware.soapui.model.testsuite.TestStep
public int getAssertionsCountForSource(com.eviware.soapui.model.TestModelItem source)
public com.eviware.soapui.impl.wsdl.teststeps.WsdlMessageAssertion getAssertionByName(String name)
getAssertionByName
in interface com.eviware.soapui.model.testsuite.Assertable
public void removeAssertionEntriesBySourceId(String sourceId)
public void removeAssertionEntriesBySourceId(AssertionEntry entry, String sourceId)
public void fireStepAssertionEntryAdded(AssertionEntry entry, AssertionEntryMarker parent)
public void fireStepAssertionEntryRemoved(AssertionEntry assertionEntry, AssertionEntryMarker parent)
public void addAssertionTestStepListener(AssertionEntryListener listener)
public void removeAssertionTestStepListener(AssertionEntryListener listener)
public com.eviware.soapui.model.testsuite.TestAssertion addAssertion(String selection)
addAssertion
in interface com.eviware.soapui.model.testsuite.Assertable
public void addAssertionsListener(com.eviware.soapui.model.testsuite.AssertionsListener listener)
addAssertionsListener
in interface com.eviware.soapui.model.testsuite.Assertable
public int getAssertionCount()
getAssertionCount
in interface com.eviware.soapui.model.testsuite.Assertable
public com.eviware.soapui.model.testsuite.TestAssertion getAssertionAt(int index)
getAssertionAt
in interface com.eviware.soapui.model.testsuite.Assertable
public void removeAssertionsListener(com.eviware.soapui.model.testsuite.AssertionsListener listener)
removeAssertionsListener
in interface com.eviware.soapui.model.testsuite.Assertable
public void removeAssertion(com.eviware.soapui.model.testsuite.TestAssertion assertion)
removeAssertion
in interface com.eviware.soapui.model.testsuite.Assertable
public com.eviware.soapui.model.testsuite.Assertable.AssertionStatus getAssertionStatus()
getAssertionStatus
in interface com.eviware.soapui.model.testsuite.Assertable
public String getAssertableContent()
getAssertableContent
in interface com.eviware.soapui.model.testsuite.Assertable
public String getAssertableContentAsXml()
getAssertableContentAsXml
in interface com.eviware.soapui.model.testsuite.Assertable
public String getDefaultAssertableContent()
getDefaultAssertableContent
in interface com.eviware.soapui.model.testsuite.Assertable
public com.eviware.soapui.impl.wsdl.teststeps.assertions.TestAssertionRegistry.AssertableType getAssertableType()
getAssertableType
in interface com.eviware.soapui.model.testsuite.Assertable
public List<com.eviware.soapui.model.testsuite.TestAssertion> getAssertionList()
getAssertionList
in interface com.eviware.soapui.model.testsuite.Assertable
public com.eviware.soapui.model.testsuite.TestStep getTestStep()
getTestStep
in interface com.eviware.soapui.model.testsuite.Assertable
public com.eviware.soapui.model.iface.Interface getInterface()
getInterface
in interface com.eviware.soapui.model.testsuite.Assertable
public com.eviware.soapui.model.testsuite.TestAssertion cloneAssertion(com.eviware.soapui.model.testsuite.TestAssertion source, String name)
cloneAssertion
in interface com.eviware.soapui.model.testsuite.Assertable
public Map<String,com.eviware.soapui.model.testsuite.TestAssertion> getAssertions()
getAssertions
in interface com.eviware.soapui.model.testsuite.Assertable
public com.eviware.soapui.model.testsuite.TestAssertion moveAssertion(int ix, int offset)
moveAssertion
in interface com.eviware.soapui.model.testsuite.Assertable
public boolean groupAssertions(List<AssertionEntry> assertionEntryList, AssertionEntry parentAssertionEntry)
public boolean checkForUniqueName(String name)
public boolean checkForUniqueName(String name, String oldName)
name
- oldName
- public void moveToGroup(String groupName, AssertionEntry assertionEntry, AssertionEntry oldParentGroupEntry)
public AssertionEntry getAssertionByName(String name, String assertionTestStepId)
public void beforeSave()
beforeSave
in class com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem<com.eviware.soapui.config.TestStepConfig>
public void updateConfig()
public List<AssertionEntry> getAssertionGroups()
public void release()
release
in interface com.eviware.soapui.model.Releasable
release
in class com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStepWithProperties
public void addAssertionEntry(AssertionEntry entry)
public void resetConfigOnMove(com.eviware.soapui.config.TestStepConfig config)
resetConfigOnMove
in class com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStep
public void reevaluate()
public long getNumberOfFailedAssertions()
public List<AssertionEntry> getAssertionGroups(AssertionEntry group)
group
- public void afterCopy(com.eviware.soapui.impl.wsdl.WsdlTestSuite oldTestSuite, com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase oldTestCase)
afterCopy
in class com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStep
Copyright © 2019. All rights reserved.