public abstract class AbstractTestCase extends AbstractMonitoringSubFunctionTest
expectedEx, shell, subFunction
Constructor and Description |
---|
AbstractTestCase() |
Modifier and Type | Method and Description |
---|---|
protected void |
assertCactiIncomingCountOutput(String output,
Map<org.ow2.petals.jmx.api.api.monitoring.component.soap.IncomingWsRequestKey,Long> dataSet,
Map<String,Long> expectedResults) |
protected void |
assertCactiIncomingResponseTimesOutput(String output,
Map<org.ow2.petals.jmx.api.api.monitoring.component.soap.IncomingWsRequestKey,Long[]> dataSet,
Map<String,Long> expectedResults) |
protected void |
assertCactiOutgoingCountOutput(String output,
Map<org.ow2.petals.jmx.api.api.monitoring.component.soap.OutgoingWsRequestKey,Long> dataSet,
Map<String,Long> expectedResults) |
protected void |
assertCactiOutgoingResponseTimesOutput(String output,
Map<org.ow2.petals.jmx.api.api.monitoring.component.soap.OutgoingWsRequestKey,Long[]> dataSet,
Map<String,Long> expectedResults) |
protected void |
assertCactiResponseTimesOutputOfQueryWithArg(String output,
Map<String,Long> expectedResults,
String queriedOperation) |
void |
clearDataSets()
Clear all datasets used during unit tests
|
buildSubFunction, setUpFunction
public void clearDataSets() throws Exception
Exception
protected void assertCactiIncomingResponseTimesOutput(String output, Map<org.ow2.petals.jmx.api.api.monitoring.component.soap.IncomingWsRequestKey,Long[]> dataSet, Map<String,Long> expectedResults) throws org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException, org.ow2.petals.jmx.api.api.exception.ConnectionErrorException, IOException
output
- The output stream as String
dataSet
- Unit test data setexpectedResults
- expected resultsorg.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
org.ow2.petals.jmx.api.api.exception.ConnectionErrorException
IOException
protected void assertCactiOutgoingResponseTimesOutput(String output, Map<org.ow2.petals.jmx.api.api.monitoring.component.soap.OutgoingWsRequestKey,Long[]> dataSet, Map<String,Long> expectedResults) throws org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException, org.ow2.petals.jmx.api.api.exception.ConnectionErrorException, IOException
output
- The output stream as String
dataSet
- Unit test data setexpectedResults
- expected resultsorg.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
org.ow2.petals.jmx.api.api.exception.ConnectionErrorException
IOException
protected void assertCactiResponseTimesOutputOfQueryWithArg(String output, Map<String,Long> expectedResults, String queriedOperation) throws NumberFormatException, IOException
NumberFormatException
IOException
protected void assertCactiIncomingCountOutput(String output, Map<org.ow2.petals.jmx.api.api.monitoring.component.soap.IncomingWsRequestKey,Long> dataSet, Map<String,Long> expectedResults) throws org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException, org.ow2.petals.jmx.api.api.exception.ConnectionErrorException, IOException
output
- The output stream as String
dataSet
- Unit test data setexpectedResults
- expected resultsorg.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
org.ow2.petals.jmx.api.api.exception.ConnectionErrorException
IOException
protected void assertCactiOutgoingCountOutput(String output, Map<org.ow2.petals.jmx.api.api.monitoring.component.soap.OutgoingWsRequestKey,Long> dataSet, Map<String,Long> expectedResults) throws org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException, org.ow2.petals.jmx.api.api.exception.ConnectionErrorException, IOException
output
- The output stream as String
dataSet
- Unit test data setexpectedResults
- expected resultsorg.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
org.ow2.petals.jmx.api.api.exception.ConnectionErrorException
IOException
Copyright © 2005-2018 Linagora. All Rights Reserved.