public class MexProcessorThreadPoolTest extends AbstractTestCase
MexProcessorThreadPool
expectedEx, shell, subFunction
Constructor and Description |
---|
MexProcessorThreadPoolTest() |
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 message exchange processor thread pool values.
|
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 processor thread pool 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
processor thread pool,
Expected results:
no error,
the metric value associated to the current active threads of message exchange processor thread pool is not
returned,
other values are correctly displayed.
|
void |
testExecute_04()
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
idle threads of message exchange processor thread pool,
Expected results:
no error,
the metric value associated to the current idle threads of message
exchange processor thread pool is not returned,
other values are correctly displayed.
|
void |
testExecute_05()
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 idle
threads of message exchange processor thread pool,
Expected results:
no error,
the metric value associated to the max idle threads of message
exchange processor thread pool is not returned,
other values are correctly displayed.
|
void |
testExecute_06()
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
enqueued request number in message exchange processor thread pool,
Expected results:
no error,
the metric value associated to the max enqueued request number in
message exchange processor thread pool is not returned,
other values are correctly displayed.
|
void |
testExecute_07()
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
enqueued request number in message exchange processor thread pool,
Expected results:
no error,
the metric value associated to the current enqueued request number in
message exchange processor thread pool is not returned,
other values are correctly displayed.
|
void |
testExecute_08()
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 size of
message exchange processor thread pool,
Expected results:
no error,
the metric value associated to the max size of message exchange
processor thread pool is not returned,
other values are correctly displayed.
|
void |
testExecute_09()
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 min size of
message exchange processor thread pool,
Expected results:
no error,
the metric value associated to the min size of message exchange
processor 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_04() 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_05() 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_06() 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_07() 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_08() 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_09() 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.