public class MexAcceptorPoolTest extends AbstractTestCase
MexAcceptorPool
expectedEx, shell, subFunction
Constructor and Description |
---|
MexAcceptorPoolTest() |
Modifier and Type | Method and Description |
---|---|
protected org.ow2.petals.cli.extension.command.monitoring.mo.api.AbstractMonitoringSubFunction |
buildSubFunction() |
void |
testExecute_00()
Test the method 'execute()' against processing, where:
a connection to a Petals ESB container is established,
the component identifier provided does not exist.
|
void |
testExecute_01()
Test the method 'execute()' against processing, where:
a connection to a Petals ESB container is established,
the component identifier provided exists,
error occurs getting HTTP thread pool value.
|
void |
testExecute_02()
Test the method 'execute()' against processing, where:
a connection to a Petals ESB container is established,
the component identifier provided exists,
a null value is returned for the metric associated to the max active threads of message exchange processor
thread pool,
Expected results:
no error,
the metric value associated to the max active threads of message exchange acceptor is not returned,
other values are correctly displayed.
|
void |
testExecute_03()
Test the method 'execute()' against processing, where:
a connection to a Petals ESB container is established,
the component identifier provided exists,
a null value is returned for the metric associated to the current active threads of message exchange acceptor
thread pool,
Expected results:
no error,
the metric value associated to the current active threads of the message exchange acceptor thread pool is not
returned,
other values are correctly displayed.
|
void |
testExecute_10()
Test the method 'execute()' against processing, where:
a connection to a Petals ESB container is established,
the component identifier provided exists,
no null value is returned for metric,
no error will occur.
|
void |
testExecute_Error_00()
Test the method 'execute()' against argument management, where:
no option is provided
Expected results: an error occurs about bad argument number.
|
void |
testExecute_Error_01()
Test the method 'execute()' against argument management, where:
an unregonized option is provided
Expected results: an error occurs about bad argument number.
|
assertCactiResponseTimesOutputOfQueryWithArg, assertCactiServiceProviderInvocationResponseTimesOutput, assertCactiServiceProviderInvocationsCountOutput, clearDataSets
setUpFunction
protected org.ow2.petals.cli.extension.command.monitoring.mo.api.AbstractMonitoringSubFunction buildSubFunction()
buildSubFunction
in class AbstractMonitoringSubFunctionTest
public void testExecute_Error_00() throws org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
Test the method 'execute()' against argument management, where:
Expected results: an error occurs about bad argument number.
org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
public void testExecute_Error_01() throws org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
Test the method 'execute()' against argument management, where:
Expected results: an error occurs about bad argument number.
org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
public void testExecute_00() throws org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
Test the method 'execute()' against processing, where:
Expected results: An error occurs about the unexisting component
org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
public void testExecute_01() throws org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
Test the method 'execute()' against processing, where:
Expected results: An error occurs
org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
public void testExecute_02() throws org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
Test the method 'execute()' against processing, where:
Expected results:
org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
public void testExecute_03() throws org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
Test the method 'execute()' against processing, where:
Expected results:
org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
public void testExecute_10() throws org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
Test the method 'execute()' against processing, where:
Expected results:
org.ow2.petals.cli.extension.command.monitoring.mo.api.exception.MonitoringSubFunctionException
Copyright © 2005-2018 Linagora. All Rights Reserved.