public class GroupAssertion
extends com.eviware.soapui.impl.wsdl.teststeps.WsdlMessageAssertion
Modifier and Type | Class and Description |
---|---|
static class |
GroupAssertion.BooleanOperator |
static class |
GroupAssertion.Factory |
protected static interface |
GroupAssertion.GroupAssertionLConfigDialog |
Modifier and Type | Field and Description |
---|---|
static String |
ASSERTIONS_LABEL |
static String |
DESCRIPTION |
static String |
GROUP_ASSERTION_NAME |
static String |
ID |
static String |
LABEL |
static String |
OPERATOR |
assertionErrors, assertionStatus, NO_RESPONSE
Constructor and Description |
---|
GroupAssertion(com.eviware.soapui.config.TestAssertionConfig assertionConfig,
com.eviware.soapui.model.testsuite.Assertable modelItem) |
Modifier and Type | Method and Description |
---|---|
void |
addAssertionEntry(AssertionEntry entryToBeAdded,
AssertionEntryMarker parent) |
void |
addAssertionEntryListener(AssertionEntryListener listener) |
void |
assertGroup(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner,
com.eviware.soapui.model.testsuite.TestCaseRunContext context) |
protected void |
buildDialog() |
boolean |
configure() |
boolean |
containsAssertion(AssertionEntry assertionEntry) |
void |
fireAssertionEntryAdded(AssertionEntry entry,
AssertionEntryMarker parent) |
void |
fireAssertionEntryRemoved(AssertionEntry entry,
AssertionEntryMarker parent) |
void |
getAndRemoveEntriesAssertingAfterSteps(com.eviware.soapui.model.testsuite.TestCase testCase,
AssertionEntry assertionEntry,
int offset,
int ix) |
List<AssertionEntry> |
getAssertionChildEntriesBySourceId(String sourceId) |
int |
getAssertionCount() |
AssertionEntry |
getAssertionForName(String name) |
List<AssertionEntry> |
getAssertionList() |
int |
getAssertionsCountForSource(com.eviware.soapui.model.TestModelItem source,
GroupAssertion group) |
GroupAssertion.BooleanOperator |
getBooleanOperator() |
int |
getFailedAssertionCount() |
com.eviware.soapui.config.GroupAssertionListConfig |
getGroupAssertionListConfig() |
List<? extends String> |
getGroupNames(AssertionEntry assertionEntry) |
int |
getNumberOfFailedAssertions() |
int |
getNumberOfPassedAssertions() |
AssertionEntry |
getParentForEntry(AssertionEntry entry) |
void |
groupAssertions(List<AssertionEntry> assertionList,
GroupAssertion.BooleanOperator booleanOperator,
AssertionEntryMarker parent) |
protected String |
internalAssertProperty(com.eviware.soapui.model.TestPropertyHolder source,
String propertyName,
com.eviware.soapui.model.iface.MessageExchange messageExchange,
com.eviware.soapui.model.iface.SubmitContext context) |
protected String |
internalAssertResponse(com.eviware.soapui.model.iface.MessageExchange messageExchange,
com.eviware.soapui.model.iface.SubmitContext context) |
void |
reevalute() |
void |
release() |
void |
removeAssertionEntriesBySourceId(String sourceId,
AssertionEntry parent) |
void |
removeAssertionEntryListener(AssertionEntryListener listener) |
void |
removeFromGroup(AssertionEntry entryToRemove) |
void |
resetConfigOnMove(com.eviware.soapui.config.GroupAssertionListConfig config) |
void |
setDisabled(boolean disabled) |
void |
ungroupAssertions(AssertionTestStep assertionTestStep,
AssertionEntry groupParent,
AssertionEntry groupEntry) |
void |
updateConfig() |
appliesToRequest, assertProperty, assertRequest, assertResponse, createEventBusMessage, getAssertable, getConfig, getConfiguration, getDescription, getErrors, getIcon, getId, getIndexOfAssertion, getLabel, getName, getParent, getPropertyExpansions, getSettings, getStatus, internalAssertRequest, isAllowMultiple, isClonable, isConfigurable, isDisabled, isFailed, isValid, prepare, prepare, resolve, setAssertable, setConfiguration, setErrors, setName, setStatus, updateConfig
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, getChildren, getDashboardDbId, getProject, initItemOrder, isNotifyPropertyChanged, notifyPropertyChanged, removeModelItemFromConfig, removePropertyChangeListener, removePropertyChangeListener, setDashboardDbId, setNotifyPropertyChanged
public static final String ID
public static final String LABEL
public static final String DESCRIPTION
public static final String GROUP_ASSERTION_NAME
public static final String OPERATOR
public static final String ASSERTIONS_LABEL
public GroupAssertion(com.eviware.soapui.config.TestAssertionConfig assertionConfig, com.eviware.soapui.model.testsuite.Assertable modelItem)
public GroupAssertion.BooleanOperator getBooleanOperator()
protected String internalAssertResponse(com.eviware.soapui.model.iface.MessageExchange messageExchange, com.eviware.soapui.model.iface.SubmitContext context) throws com.eviware.soapui.model.testsuite.AssertionException
internalAssertResponse
in class com.eviware.soapui.impl.wsdl.teststeps.WsdlMessageAssertion
com.eviware.soapui.model.testsuite.AssertionException
protected String internalAssertProperty(com.eviware.soapui.model.TestPropertyHolder source, String propertyName, com.eviware.soapui.model.iface.MessageExchange messageExchange, com.eviware.soapui.model.iface.SubmitContext context) throws com.eviware.soapui.model.testsuite.AssertionException
internalAssertProperty
in class com.eviware.soapui.impl.wsdl.teststeps.WsdlMessageAssertion
com.eviware.soapui.model.testsuite.AssertionException
public void assertGroup(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner, com.eviware.soapui.model.testsuite.TestCaseRunContext context)
public void groupAssertions(List<AssertionEntry> assertionList, GroupAssertion.BooleanOperator booleanOperator, AssertionEntryMarker parent)
public void ungroupAssertions(AssertionTestStep assertionTestStep, AssertionEntry groupParent, AssertionEntry groupEntry)
public void addAssertionEntry(AssertionEntry entryToBeAdded, AssertionEntryMarker parent)
public void removeFromGroup(AssertionEntry entryToRemove)
public boolean configure()
configure
in interface com.eviware.soapui.model.testsuite.TestAssertion
configure
in class com.eviware.soapui.impl.wsdl.teststeps.WsdlMessageAssertion
protected void buildDialog()
public void release()
release
in interface com.eviware.soapui.model.Releasable
release
in class com.eviware.soapui.impl.wsdl.teststeps.WsdlMessageAssertion
public com.eviware.soapui.config.GroupAssertionListConfig getGroupAssertionListConfig()
public boolean containsAssertion(AssertionEntry assertionEntry)
public List<AssertionEntry> getAssertionList()
public AssertionEntry getParentForEntry(AssertionEntry entry)
public void fireAssertionEntryAdded(AssertionEntry entry, AssertionEntryMarker parent)
public void fireAssertionEntryRemoved(AssertionEntry entry, AssertionEntryMarker parent)
public void addAssertionEntryListener(AssertionEntryListener listener)
public void removeAssertionEntryListener(AssertionEntryListener listener)
public List<? extends String> getGroupNames(AssertionEntry assertionEntry)
public AssertionEntry getAssertionForName(String name)
public List<AssertionEntry> getAssertionChildEntriesBySourceId(String sourceId)
public void setDisabled(boolean disabled)
setDisabled
in class com.eviware.soapui.impl.wsdl.teststeps.WsdlMessageAssertion
public void reevalute()
public int getAssertionCount()
public int getFailedAssertionCount()
public void removeAssertionEntriesBySourceId(String sourceId, AssertionEntry parent)
public void updateConfig()
public void getAndRemoveEntriesAssertingAfterSteps(com.eviware.soapui.model.testsuite.TestCase testCase, AssertionEntry assertionEntry, int offset, int ix)
public int getAssertionsCountForSource(com.eviware.soapui.model.TestModelItem source, GroupAssertion group)
public int getNumberOfPassedAssertions()
public int getNumberOfFailedAssertions()
public void resetConfigOnMove(com.eviware.soapui.config.GroupAssertionListConfig config)
Copyright © 2019. All rights reserved.