public class RestServiceCoverage extends InterfaceCoverage implements InterfaceListener
Calculates coverage for a REST service. The class structure is as follows: RestServiceCoverage - for 1 REST service - RestResourceCoverage - similar to operations in WSDL A REST Resource can have children recursively, but we will flatten them in the Coverage tree. - RestMethodCoverage for GET, POST, etc - parameters - only simple XML types - RestRepresentationCoverage for request, use XmlDocumentCoverage - RestRepresentationCoverage for response, use XmlDocumentCoverage
Constructor and description |
---|
RestServiceCoverage
(AbstractRestService restService, CoverageConfig config) |
RestServiceCoverage
(ProjectCoverage projectCoverage, AbstractRestService restService, boolean initialize, CoverageConfig config) |
Type Params | Return Type | Name and description |
---|---|---|
|
public java.lang.Object |
getChildAt(int i) |
|
public int |
getChildCount() |
|
public javax.swing.ImageIcon |
getIcon() |
|
public AbstractRestService |
getModelItem() |
|
public RestResourceCoverage |
getOperationCoverage(Operation restResource) |
|
public java.util.Collection<RestResourceCoverage> |
getOperations() |
|
public ProjectCoverage |
getProjectCoverage() |
|
public java.lang.String |
getText() |
|
public void |
methodAdded(RestMethod method) |
|
public void |
methodRemoved(RestMethod method) |
|
public void |
operationAdded(Operation operation) |
|
public void |
operationMoved(Operation operation, int fromIndex, int offset) |
|
public void |
operationRemoved(Operation operation) |
|
public void |
operationUpdated(Operation operation) |
|
public void |
release() |
|
public void |
requestAdded(Request request) |
|
public void |
requestMoved(Request request, int fromIndex, int offset) |
|
public void |
requestRemoved(Request request) |
Methods inherited from class | Name |
---|---|
class InterfaceCoverage |
getModelItem, getOperationCoverage, getOperations |
class AbstractCompositeCoverage |
release |
class CompositeCoverage |
add, getAssertionCoverageCount, getCoverageCount, getElementCount, getLineCoverage, getModelItem, getType, initialize, release, remove, removeAll, toString |
ReadyAPI functional (soapui-pro) SDK 3.56.0