public class XmlDocumentCoverage extends XmlBasedCoverage implements DocumentCoverage
Coverage.Type
Constructor and Description |
---|
XmlDocumentCoverage(com.eviware.soapui.impl.rest.RestRepresentation representation,
com.eviware.soapui.model.ModelItem modelItem,
Coverage.Type type) |
XmlDocumentCoverage(com.eviware.soapui.impl.wsdl.support.soap.SoapVersion soapVersion,
com.eviware.soapui.model.ModelItem modelItem,
Coverage.Type type) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
Coverage |
getAssertionCoverage(com.eviware.soapui.model.testsuite.TestAssertion assertion) |
int |
getAssertionCoverageCount() |
Coverage |
getBodyAssertionCoverage(com.eviware.soapui.model.testsuite.TestAssertion assertion) |
Coverage |
getBodyCoverage(com.eviware.soapui.model.testsuite.ResultContainer testContainer) |
Coverage |
getCoverage(com.eviware.soapui.model.testsuite.ResultContainer testContainer) |
int |
getCoverageCount() |
String |
getDefaultMessage() |
int |
getElementCount() |
Coverage |
getHeaderAssertionCoverage(com.eviware.soapui.model.testsuite.TestAssertion assertion) |
Coverage |
getHeaderCoverage(com.eviware.soapui.model.testsuite.ResultContainer testContainer) |
LineCoverage[] |
getLineCoverage() |
void |
init(String defaultMessage,
CoverageConfig config) |
void |
initFault(String defaultMessage,
CoverageConfig config) |
void |
setActualMessage(String message,
com.eviware.soapui.model.iface.MessageExchange testStep,
CoverageConfig config) |
String |
toString() |
boolean |
updateAssertionCoverage(com.eviware.soapui.model.iface.MessageExchange messageExchange,
String messageContent,
com.eviware.soapui.model.testsuite.AssertedXPath assertedXPath,
CoverageConfig config) |
getModelItem, getType
public XmlDocumentCoverage(com.eviware.soapui.impl.wsdl.support.soap.SoapVersion soapVersion, com.eviware.soapui.model.ModelItem modelItem, Coverage.Type type)
public XmlDocumentCoverage(com.eviware.soapui.impl.rest.RestRepresentation representation, com.eviware.soapui.model.ModelItem modelItem, Coverage.Type type)
public void init(String defaultMessage, CoverageConfig config) throws org.apache.xmlbeans.XmlException
init
in interface DocumentCoverage
org.apache.xmlbeans.XmlException
public void initFault(String defaultMessage, CoverageConfig config) throws Exception
Exception
public String toString()
toString
in class BasicCoverage
public void setActualMessage(String message, com.eviware.soapui.model.iface.MessageExchange testStep, CoverageConfig config) throws Exception
setActualMessage
in interface DocumentCoverage
Exception
public String getDefaultMessage()
getDefaultMessage
in interface DocumentCoverage
public Coverage getCoverage(com.eviware.soapui.model.testsuite.ResultContainer testContainer)
getCoverage
in interface DocumentCoverage
public Coverage getBodyCoverage(com.eviware.soapui.model.testsuite.ResultContainer testContainer)
public Coverage getHeaderCoverage(com.eviware.soapui.model.testsuite.ResultContainer testContainer)
public Coverage getAssertionCoverage(com.eviware.soapui.model.testsuite.TestAssertion assertion)
public Coverage getBodyAssertionCoverage(com.eviware.soapui.model.testsuite.TestAssertion assertion)
public Coverage getHeaderAssertionCoverage(com.eviware.soapui.model.testsuite.TestAssertion assertion)
public void clear()
clear
in interface DocumentCoverage
public int getAssertionCoverageCount()
getAssertionCoverageCount
in interface Coverage
getAssertionCoverageCount
in class BasicCoverage
public int getCoverageCount()
getCoverageCount
in interface Coverage
getCoverageCount
in class BasicCoverage
public int getElementCount()
getElementCount
in interface Coverage
getElementCount
in class BasicCoverage
public LineCoverage[] getLineCoverage()
getLineCoverage
in interface Coverage
getLineCoverage
in class BasicCoverage
public boolean updateAssertionCoverage(com.eviware.soapui.model.iface.MessageExchange messageExchange, String messageContent, com.eviware.soapui.model.testsuite.AssertedXPath assertedXPath, CoverageConfig config)
updateAssertionCoverage
in interface DocumentCoverage
Copyright © 2019. All rights reserved.