public class RestResourceCoverage extends OperationCoverage implements PropertyChangeListener
Coverage.Type
Constructor and Description |
---|
RestResourceCoverage(com.eviware.soapui.impl.rest.RestResource resource,
CoverageConfig config) |
RestResourceCoverage(RestServiceCoverage service,
com.eviware.soapui.impl.rest.RestResource resource,
boolean initialize,
CoverageConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
accumulateMessage(com.eviware.soapui.model.iface.MessageExchange messageExchange,
CoverageConfig config)
Accumulates coverage statistics from a request/response execution.
|
Object |
getChildAt(int i) |
int |
getChildCount() |
Coverage |
getCoverage(com.eviware.soapui.model.testsuite.ResultContainer testContainer,
Coverage.Type type) |
ImageIcon |
getIcon() |
RestMethodCoverage |
getMethod(com.eviware.soapui.impl.rest.RestMethod restMethod) |
Collection<RestMethodCoverage> |
getMethods() |
com.eviware.soapui.impl.rest.RestResource |
getModelItem()
The closes modelItem for this coverage
|
RestServiceCoverage |
getRestServiceCoverage() |
String |
getText() |
void |
propertyChange(PropertyChangeEvent evt) |
void |
release() |
String |
toString() |
add, getAssertionCoverageCount, getCoverageCount, getElementCount, getLineCoverage, getType, remove, removeAll
public RestResourceCoverage(com.eviware.soapui.impl.rest.RestResource resource, CoverageConfig config) throws Exception
Exception
public RestResourceCoverage(RestServiceCoverage service, com.eviware.soapui.impl.rest.RestResource resource, boolean initialize, CoverageConfig config) throws Exception
Exception
public RestServiceCoverage getRestServiceCoverage()
public void release()
release
in interface CoverageTreeNode
release
in class AbstractCompositeCoverage
public String toString()
toString
in class CompositeCoverage
public com.eviware.soapui.impl.rest.RestResource getModelItem()
Coverage
getModelItem
in interface Coverage
getModelItem
in interface CoverageTreeNode
getModelItem
in class OperationCoverage
public String getText()
getText
in interface CoverageTreeNode
public ImageIcon getIcon()
getIcon
in interface CoverageTreeNode
public void accumulateMessage(com.eviware.soapui.model.iface.MessageExchange messageExchange, CoverageConfig config)
accumulateMessage
in class OperationCoverage
org.apache.xmlbeans.XmlException
public Coverage getCoverage(com.eviware.soapui.model.testsuite.ResultContainer testContainer, Coverage.Type type)
getCoverage
in class OperationCoverage
public Collection<RestMethodCoverage> getMethods()
public int getChildCount()
getChildCount
in interface CoverageTreeNode
public Object getChildAt(int i)
getChildAt
in interface CoverageTreeNode
public RestMethodCoverage getMethod(com.eviware.soapui.impl.rest.RestMethod restMethod)
public void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
Copyright © 2019. All rights reserved.