public class AssertionEntry extends Object implements PropertyChangeListener, AssertionEntryMarker, com.eviware.soapui.model.testsuite.TestPropertyListener, com.eviware.soapui.model.Releasable
Constructor and Description |
---|
AssertionEntry(com.eviware.soapui.config.AssertionEntryConfig config,
AssertionTestStep assertionTS) |
AssertionEntry(com.eviware.soapui.config.AssertionEntryConfig config,
AssertionTestStep assertionTestStep,
String sourceId) |
Modifier and Type | Method and Description |
---|---|
void |
addAssertionEntryListener(AssertionEntryListener listener) |
static AssertionEntry |
buildAssertionEntry(String assertionType,
String name,
boolean isGroup,
AssertionTestStep assertionTestStep,
com.eviware.soapui.model.ModelItem selectedSource,
String selectedPropertyName,
AssertionEntryMarker parent) |
void |
changeSourceAndProperty(String sourceId,
String propertyName) |
AssertionEntry |
cloneEntry() |
void |
doAssert(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner,
com.eviware.soapui.model.testsuite.TestCaseRunContext testRunContext) |
boolean |
equals(Object obj) |
List<String> |
errorMessage() |
void |
fireAssertionEntryAdded(AssertionEntry assertionEntry,
AssertionEntryMarker parent) |
void |
fireAssertionEntryChanged(AssertionEntry assertionEntry) |
void |
fireAssertionEntryRemoved(AssertionEntry assertionEntry,
AssertionEntry parent) |
protected com.eviware.soapui.model.testsuite.Assertable |
getAssertable() |
com.eviware.soapui.impl.wsdl.teststeps.WsdlMessageAssertion |
getAssertion() |
int |
getAssertionCount() |
String |
getAssertionName() |
AssertionTestStep |
getAssertionTestStep() |
com.eviware.soapui.model.ModelItem |
getAssertionTestStepModelItem() |
int |
getChildCount() |
List<AssertionEntry> |
getChildList() |
com.eviware.soapui.config.AssertionEntryConfig |
getConfig() |
String |
getErrorDetails()
Constructs error details for related assertion
|
ImageIcon |
getIcon() |
String |
getId() |
int |
getIndexOf(AssertionEntry childEntry) |
List<AssertionEntry> |
getInnerGroups() |
Collection<? extends AssertionEntry> |
getInnerGroups(AssertionEntry group) |
AssertionEntry |
getParent() |
AssertionEntry |
getParentForEntry(AssertionEntry entry) |
String |
getPropertyName() |
com.eviware.soapui.model.ModelItem |
getSource() |
String |
getSourceId() |
String |
getSourceName() |
com.eviware.soapui.model.testsuite.Assertable.AssertionStatus |
getStatus() |
com.eviware.soapui.model.ModelItem |
getTestCaseModelItem() |
com.eviware.soapui.model.testsuite.TestCaseRunContext |
getTestRunContext() |
int |
hashCode() |
void |
invalidateCacheEntry() |
boolean |
isDisabled() |
boolean |
isGroup() |
void |
propertyAdded(String name) |
void |
propertyChange(PropertyChangeEvent arg0) |
void |
propertyMoved(String name,
int oldIndex,
int newIndex) |
void |
propertyRemoved(String name) |
void |
propertyRenamed(String oldName,
String newName) |
void |
propertyValueChanged(String name,
String oldValue,
String newValue) |
void |
reevalute() |
void |
release() |
void |
removeAssertionEntriesBySourceId(String sourceId) |
void |
removeAssertionEntryListener(AssertionEntryListener listener) |
void |
removeFromGroup(AssertionEntry entry) |
void |
resetConfigOnMove(com.eviware.soapui.config.AssertionEntryConfig config) |
void |
setDisabled(boolean disabled) |
void |
setId(String id) |
void |
setMessageExchange(com.eviware.soapui.model.iface.MessageExchange messageExchange) |
void |
setSourceId(String sourceId) |
void |
setStatus(com.eviware.soapui.model.testsuite.Assertable.AssertionStatus status) |
void |
setTestRunContext(com.eviware.soapui.model.testsuite.TestCaseRunContext testRunContext) |
String |
toString() |
void |
ungroup() |
void |
updateConfig() |
public AssertionEntry(com.eviware.soapui.config.AssertionEntryConfig config, AssertionTestStep assertionTestStep, String sourceId)
public AssertionEntry(com.eviware.soapui.config.AssertionEntryConfig config, AssertionTestStep assertionTS)
public AssertionEntry cloneEntry()
public List<AssertionEntry> getChildList()
public List<AssertionEntry> getInnerGroups()
public ImageIcon getIcon()
public int getChildCount()
public int getIndexOf(AssertionEntry childEntry)
public com.eviware.soapui.impl.wsdl.teststeps.WsdlMessageAssertion getAssertion()
protected com.eviware.soapui.model.testsuite.Assertable getAssertable()
public String getId()
public String getSourceId()
@CheckForNull public com.eviware.soapui.model.ModelItem getSource()
public String getSourceName()
public String getPropertyName()
public void setId(String id)
public com.eviware.soapui.config.AssertionEntryConfig getConfig()
@Nonnull public com.eviware.soapui.model.testsuite.Assertable.AssertionStatus getStatus()
public void setStatus(@Nonnull com.eviware.soapui.model.testsuite.Assertable.AssertionStatus status)
public boolean isGroup()
public com.eviware.soapui.model.ModelItem getTestCaseModelItem()
public String getAssertionName()
public String getErrorDetails()
public void addAssertionEntryListener(AssertionEntryListener listener)
public void removeAssertionEntryListener(AssertionEntryListener listener)
public void fireAssertionEntryAdded(AssertionEntry assertionEntry, AssertionEntryMarker parent)
public void fireAssertionEntryChanged(AssertionEntry assertionEntry)
public void fireAssertionEntryRemoved(AssertionEntry assertionEntry, AssertionEntry parent)
public void propertyChange(PropertyChangeEvent arg0)
propertyChange
in interface PropertyChangeListener
public void setMessageExchange(com.eviware.soapui.model.iface.MessageExchange messageExchange)
public com.eviware.soapui.model.testsuite.TestCaseRunContext getTestRunContext()
public void setTestRunContext(com.eviware.soapui.model.testsuite.TestCaseRunContext testRunContext)
public void invalidateCacheEntry()
public AssertionEntry getParent()
public AssertionEntry getParentForEntry(AssertionEntry entry)
public com.eviware.soapui.model.ModelItem getAssertionTestStepModelItem()
public void removeFromGroup(AssertionEntry entry)
public void setSourceId(String sourceId)
public void ungroup()
public AssertionTestStep getAssertionTestStep()
public static AssertionEntry buildAssertionEntry(String assertionType, String name, boolean isGroup, AssertionTestStep assertionTestStep, com.eviware.soapui.model.ModelItem selectedSource, String selectedPropertyName, AssertionEntryMarker parent)
public boolean isDisabled()
public void setDisabled(boolean disabled)
public void doAssert(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner, com.eviware.soapui.model.testsuite.TestCaseRunContext testRunContext)
public void reevalute()
public int getAssertionCount()
public Collection<? extends AssertionEntry> getInnerGroups(AssertionEntry group)
public void removeAssertionEntriesBySourceId(String sourceId)
public void updateConfig()
public void propertyAdded(String name)
propertyAdded
in interface com.eviware.soapui.model.testsuite.TestPropertyListener
public void propertyRemoved(String name)
propertyRemoved
in interface com.eviware.soapui.model.testsuite.TestPropertyListener
public void propertyRenamed(String oldName, String newName)
propertyRenamed
in interface com.eviware.soapui.model.testsuite.TestPropertyListener
public void propertyValueChanged(String name, String oldValue, String newValue)
propertyValueChanged
in interface com.eviware.soapui.model.testsuite.TestPropertyListener
public void propertyMoved(String name, int oldIndex, int newIndex)
propertyMoved
in interface com.eviware.soapui.model.testsuite.TestPropertyListener
public void release()
release
in interface com.eviware.soapui.model.Releasable
public void resetConfigOnMove(com.eviware.soapui.config.AssertionEntryConfig config)
Copyright © 2019. All rights reserved.