public class ProjectCoverage extends AbstractCompositeCoverage<com.eviware.soapui.impl.wsdl.WsdlProject> implements com.eviware.soapui.model.project.ProjectListener, com.eviware.soapui.model.testsuite.TestSuiteListener, com.eviware.soapui.model.mock.MockServiceListener, PropertyChangeListener, com.eviware.soapui.model.settings.SettingsListener, com.eviware.soapui.model.iface.InterfaceListener
Coverage.Type
Modifier and Type | Field and Description |
---|---|
static int |
COVERAGE_COL |
static int |
NAME_COL |
Constructor and Description |
---|
ProjectCoverage(com.eviware.soapui.impl.wsdl.WsdlProject project,
CoverageConfig config,
boolean showTests) |
Modifier and Type | Method and Description |
---|---|
void |
accumulateMessageExchange(com.eviware.soapui.model.iface.MessageExchange messageExchange) |
void |
accumulateMockResult(com.eviware.soapui.model.mock.MockService mockService,
com.eviware.soapui.model.mock.MockResult mockResult) |
void |
accumulateTestStep(com.eviware.soapui.model.testsuite.TestStepResult result) |
void |
addMockService(com.eviware.soapui.impl.wsdl.mock.WsdlMockService mockService) |
void |
addProjectCoverageListener(ProjectCoverageListener listener) |
void |
addPropertyChangeListener(PropertyChangeListener listener) |
void |
afterLoad(com.eviware.soapui.model.project.Project project) |
void |
beforeSave(com.eviware.soapui.model.project.Project project) |
void |
clear() |
void |
environmentAdded(com.eviware.soapui.model.environment.Environment env) |
void |
environmentRemoved(com.eviware.soapui.model.environment.Environment env,
int index) |
void |
environmentRenamed(com.eviware.soapui.model.environment.Environment environment,
String oldName,
String newName) |
void |
environmentSwitched(com.eviware.soapui.model.environment.Environment environment) |
protected void |
firePropertyChanged(String propertyName,
Object oldValue,
Object newValue) |
Object |
getChildAt(int index) |
int |
getChildCount() |
CoverageConfig |
getConfiguration() |
ImageIcon |
getIcon() |
InterfaceCoverage<?> |
getInterfaceCoverage(com.eviware.soapui.model.iface.Interface iface) |
Collection<InterfaceCoverage<?>> |
getInterfaces() |
List<MessageExchangeNodeInterface> |
getMessageExchangeNodes(com.eviware.soapui.model.testsuite.OperationTestStep testStep) |
OperationCoverage |
getOperationCoverage(com.eviware.soapui.model.iface.Operation op) |
Coverage |
getRequestCoverage(com.eviware.soapui.model.testsuite.ResultContainer testContainer) |
Coverage |
getResponseCoverage(com.eviware.soapui.model.testsuite.ResultContainer testContainer) |
RestServiceCoverage |
getRestServiceCoverage(com.eviware.soapui.impl.rest.AbstractRestService service) |
Collection<InterfaceCoverage<?>> |
getRestServices() |
Coverage |
getTestCaseCoverage(com.eviware.soapui.model.testsuite.TestCase testCase) |
Coverage |
getTestStepCoverage(com.eviware.soapui.model.testsuite.OperationTestStep testStep) |
Coverage |
getTestSuiteCoverage(com.eviware.soapui.model.testsuite.TestSuite testSuite) |
String |
getText() |
ProjectCoverageTreeTableModel |
getTreeModel() |
void |
init() |
void |
initStats() |
void |
interfaceAdded(com.eviware.soapui.model.iface.Interface iface) |
void |
interfaceRemoved(com.eviware.soapui.model.iface.Interface iface) |
void |
interfaceUpdated(com.eviware.soapui.model.iface.Interface iface) |
boolean |
isInitialized() |
boolean |
isUpToDate() |
void |
loadTestAdded(com.eviware.soapui.model.testsuite.LoadTest loadTest) |
void |
loadTestRemoved(com.eviware.soapui.model.testsuite.LoadTest loadTest) |
void |
loadUITestAdded(com.eviware.soapui.model.load.LoadTestModelItem loadUITest) |
void |
loadUITestRemoved(com.eviware.soapui.model.load.LoadTestModelItem loadUITest) |
void |
methodAdded(com.eviware.soapui.impl.rest.RestMethod method) |
void |
methodRemoved(com.eviware.soapui.impl.rest.RestMethod method) |
void |
mockOperationAdded(com.eviware.soapui.model.mock.MockOperation operation) |
void |
mockOperationRemoved(com.eviware.soapui.model.mock.MockOperation operation) |
void |
mockResponseAdded(com.eviware.soapui.model.mock.MockResponse request) |
void |
mockResponseRemoved(com.eviware.soapui.model.mock.MockResponse request) |
void |
mockServiceAdded(com.eviware.soapui.model.mock.MockService mockService) |
void |
mockServiceRemoved(com.eviware.soapui.model.mock.MockService mockService) |
void |
operationAdded(com.eviware.soapui.model.iface.Operation operation) |
void |
operationMoved(com.eviware.soapui.model.iface.Operation operation,
int fromIndex,
int offset) |
void |
operationRemoved(com.eviware.soapui.model.iface.Operation operation) |
void |
operationUpdated(com.eviware.soapui.model.iface.Operation operation) |
void |
propertyChange(PropertyChangeEvent e) |
void |
release() |
void |
removeProjectCoverageListener(ProjectCoverageListener listener) |
void |
removePropertyChangeListener(PropertyChangeListener listener) |
void |
requestAdded(com.eviware.soapui.model.iface.Request request) |
void |
requestMoved(com.eviware.soapui.model.iface.Request request,
int fromIndex,
int offset) |
void |
requestRemoved(com.eviware.soapui.model.iface.Request request) |
void |
securityTestAdded(com.eviware.soapui.security.SecurityTest arg0) |
void |
securityTestRemoved(com.eviware.soapui.security.SecurityTest arg0) |
void |
setMaxResults(long maxResults) |
void |
settingChanged(String name,
String oldValue,
String newValue) |
void |
settingsReloaded() |
void |
testCaseAdded(com.eviware.soapui.model.testsuite.TestCase testCase) |
void |
testCaseMoved(com.eviware.soapui.model.testsuite.TestCase testCase,
int index,
int offset) |
void |
testCaseRemoved(com.eviware.soapui.model.testsuite.TestCase testCase) |
void |
testStepAdded(com.eviware.soapui.model.testsuite.TestStep testStep,
int index) |
void |
testStepMoved(com.eviware.soapui.model.testsuite.TestStep testStep,
int fromIndex,
int offset) |
void |
testStepRemoved(com.eviware.soapui.model.testsuite.TestStep testStep,
int index) |
void |
testSuiteAdded(com.eviware.soapui.model.testsuite.TestSuite testSuite) |
void |
testSuiteMoved(com.eviware.soapui.model.testsuite.TestSuite testSuite,
int index,
int offset) |
void |
testSuiteRemoved(com.eviware.soapui.model.testsuite.TestSuite testSuite) |
String |
toString() |
add, getAssertionCoverageCount, getCoverageCount, getElementCount, getLineCoverage, getModelItem, getType, remove, removeAll
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
tagAssigned, tagRemoved
getModelItem
public static final int NAME_COL
public static final int COVERAGE_COL
public ProjectCoverage(com.eviware.soapui.impl.wsdl.WsdlProject project, CoverageConfig config, boolean showTests) throws Exception
Exception
public void release()
release
in interface CoverageTreeNode
release
in class AbstractCompositeCoverage<com.eviware.soapui.impl.wsdl.WsdlProject>
public void setMaxResults(long maxResults)
public void addMockService(com.eviware.soapui.impl.wsdl.mock.WsdlMockService mockService)
public CoverageConfig getConfiguration()
public void clear()
public String getText()
getText
in interface CoverageTreeNode
public ImageIcon getIcon()
getIcon
in interface CoverageTreeNode
public boolean isInitialized()
public boolean isUpToDate()
public Collection<InterfaceCoverage<?>> getInterfaces()
public InterfaceCoverage<?> getInterfaceCoverage(com.eviware.soapui.model.iface.Interface iface)
public Collection<InterfaceCoverage<?>> getRestServices()
public RestServiceCoverage getRestServiceCoverage(com.eviware.soapui.impl.rest.AbstractRestService service)
public OperationCoverage getOperationCoverage(com.eviware.soapui.model.iface.Operation op)
public Coverage getTestStepCoverage(com.eviware.soapui.model.testsuite.OperationTestStep testStep)
public Coverage getRequestCoverage(com.eviware.soapui.model.testsuite.ResultContainer testContainer)
public Coverage getResponseCoverage(com.eviware.soapui.model.testsuite.ResultContainer testContainer)
public void accumulateTestStep(com.eviware.soapui.model.testsuite.TestStepResult result) throws Exception
Exception
public void accumulateMockResult(com.eviware.soapui.model.mock.MockService mockService, com.eviware.soapui.model.mock.MockResult mockResult) throws Exception
Exception
public void accumulateMessageExchange(com.eviware.soapui.model.iface.MessageExchange messageExchange) throws Exception
Exception
public List<MessageExchangeNodeInterface> getMessageExchangeNodes(com.eviware.soapui.model.testsuite.OperationTestStep testStep)
public String toString()
toString
in class CompositeCoverage<com.eviware.soapui.impl.wsdl.WsdlProject>
public void addProjectCoverageListener(ProjectCoverageListener listener)
public void removeProjectCoverageListener(ProjectCoverageListener listener)
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
protected void firePropertyChanged(String propertyName, Object oldValue, Object newValue)
public ProjectCoverageTreeTableModel getTreeModel()
public int getChildCount()
getChildCount
in interface CoverageTreeNode
public Object getChildAt(int index)
getChildAt
in interface CoverageTreeNode
public void afterLoad(com.eviware.soapui.model.project.Project project)
afterLoad
in interface com.eviware.soapui.model.project.ProjectListener
public void beforeSave(com.eviware.soapui.model.project.Project project)
beforeSave
in interface com.eviware.soapui.model.project.ProjectListener
public void settingChanged(String name, String oldValue, String newValue)
settingChanged
in interface com.eviware.soapui.model.settings.SettingsListener
public void interfaceAdded(com.eviware.soapui.model.iface.Interface iface)
interfaceAdded
in interface com.eviware.soapui.model.project.ProjectListener
public void interfaceRemoved(com.eviware.soapui.model.iface.Interface iface)
interfaceRemoved
in interface com.eviware.soapui.model.project.ProjectListener
public void interfaceUpdated(com.eviware.soapui.model.iface.Interface iface)
interfaceUpdated
in interface com.eviware.soapui.model.project.ProjectListener
public void mockServiceAdded(com.eviware.soapui.model.mock.MockService mockService)
mockServiceAdded
in interface com.eviware.soapui.model.project.ProjectListener
public void mockServiceRemoved(com.eviware.soapui.model.mock.MockService mockService)
mockServiceRemoved
in interface com.eviware.soapui.model.project.ProjectListener
public void loadUITestAdded(com.eviware.soapui.model.load.LoadTestModelItem loadUITest)
loadUITestAdded
in interface com.eviware.soapui.model.project.ProjectListener
public void loadUITestRemoved(com.eviware.soapui.model.load.LoadTestModelItem loadUITest)
loadUITestRemoved
in interface com.eviware.soapui.model.project.ProjectListener
public void testSuiteAdded(com.eviware.soapui.model.testsuite.TestSuite testSuite)
testSuiteAdded
in interface com.eviware.soapui.model.project.ProjectListener
public void testSuiteRemoved(com.eviware.soapui.model.testsuite.TestSuite testSuite)
testSuiteRemoved
in interface com.eviware.soapui.model.project.ProjectListener
public void operationUpdated(com.eviware.soapui.model.iface.Operation operation)
operationUpdated
in interface com.eviware.soapui.model.iface.InterfaceListener
public void operationMoved(com.eviware.soapui.model.iface.Operation operation, int fromIndex, int offset)
operationMoved
in interface com.eviware.soapui.model.iface.InterfaceListener
public void requestAdded(com.eviware.soapui.model.iface.Request request)
requestAdded
in interface com.eviware.soapui.model.iface.InterfaceListener
public void requestRemoved(com.eviware.soapui.model.iface.Request request)
requestRemoved
in interface com.eviware.soapui.model.iface.InterfaceListener
public void requestMoved(com.eviware.soapui.model.iface.Request request, int fromIndex, int offset)
requestMoved
in interface com.eviware.soapui.model.iface.InterfaceListener
public void methodAdded(com.eviware.soapui.impl.rest.RestMethod method)
methodAdded
in interface com.eviware.soapui.model.iface.InterfaceListener
public void methodRemoved(com.eviware.soapui.impl.rest.RestMethod method)
methodRemoved
in interface com.eviware.soapui.model.iface.InterfaceListener
public void loadTestAdded(com.eviware.soapui.model.testsuite.LoadTest loadTest)
loadTestAdded
in interface com.eviware.soapui.model.testsuite.TestSuiteListener
public void loadTestRemoved(com.eviware.soapui.model.testsuite.LoadTest loadTest)
loadTestRemoved
in interface com.eviware.soapui.model.testsuite.TestSuiteListener
public void testCaseAdded(com.eviware.soapui.model.testsuite.TestCase testCase)
testCaseAdded
in interface com.eviware.soapui.model.testsuite.TestSuiteListener
public void testCaseMoved(com.eviware.soapui.model.testsuite.TestCase testCase, int index, int offset)
testCaseMoved
in interface com.eviware.soapui.model.testsuite.TestSuiteListener
public void testCaseRemoved(com.eviware.soapui.model.testsuite.TestCase testCase)
testCaseRemoved
in interface com.eviware.soapui.model.testsuite.TestSuiteListener
public void testStepAdded(com.eviware.soapui.model.testsuite.TestStep testStep, int index)
testStepAdded
in interface com.eviware.soapui.model.testsuite.TestSuiteListener
public void testStepMoved(com.eviware.soapui.model.testsuite.TestStep testStep, int fromIndex, int offset)
testStepMoved
in interface com.eviware.soapui.model.testsuite.TestSuiteListener
public void testStepRemoved(com.eviware.soapui.model.testsuite.TestStep testStep, int index)
testStepRemoved
in interface com.eviware.soapui.model.testsuite.TestSuiteListener
public void mockOperationAdded(com.eviware.soapui.model.mock.MockOperation operation)
mockOperationAdded
in interface com.eviware.soapui.model.mock.MockServiceListener
public void mockOperationRemoved(com.eviware.soapui.model.mock.MockOperation operation)
mockOperationRemoved
in interface com.eviware.soapui.model.mock.MockServiceListener
public void mockResponseAdded(com.eviware.soapui.model.mock.MockResponse request)
mockResponseAdded
in interface com.eviware.soapui.model.mock.MockServiceListener
public void mockResponseRemoved(com.eviware.soapui.model.mock.MockResponse request)
mockResponseRemoved
in interface com.eviware.soapui.model.mock.MockServiceListener
public void propertyChange(PropertyChangeEvent e)
propertyChange
in interface PropertyChangeListener
public void testSuiteMoved(com.eviware.soapui.model.testsuite.TestSuite testSuite, int index, int offset)
testSuiteMoved
in interface com.eviware.soapui.model.project.ProjectListener
public Coverage getTestCaseCoverage(com.eviware.soapui.model.testsuite.TestCase testCase)
public Coverage getTestSuiteCoverage(com.eviware.soapui.model.testsuite.TestSuite testSuite)
public void operationAdded(com.eviware.soapui.model.iface.Operation operation)
operationAdded
in interface com.eviware.soapui.model.iface.InterfaceListener
public void operationRemoved(com.eviware.soapui.model.iface.Operation operation)
operationRemoved
in interface com.eviware.soapui.model.iface.InterfaceListener
public void settingsReloaded()
settingsReloaded
in interface com.eviware.soapui.model.settings.SettingsListener
public void securityTestAdded(com.eviware.soapui.security.SecurityTest arg0)
securityTestAdded
in interface com.eviware.soapui.model.testsuite.TestSuiteListener
public void securityTestRemoved(com.eviware.soapui.security.SecurityTest arg0)
securityTestRemoved
in interface com.eviware.soapui.model.testsuite.TestSuiteListener
public void environmentAdded(com.eviware.soapui.model.environment.Environment env)
environmentAdded
in interface com.eviware.soapui.model.project.ProjectListener
public void environmentRemoved(com.eviware.soapui.model.environment.Environment env, int index)
environmentRemoved
in interface com.eviware.soapui.model.project.ProjectListener
public void environmentSwitched(com.eviware.soapui.model.environment.Environment environment)
environmentSwitched
in interface com.eviware.soapui.model.project.ProjectListener
Copyright © 2019. All rights reserved.