Class SoapComponentContextTest
- java.lang.Object
-
- org.ow2.petals.binding.soap.SoapComponentContextTest
-
public class SoapComponentContextTest extends Object
-
-
Constructor Summary
Constructors Constructor Description SoapComponentContextTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestBorrowServiceClient_002()Check the max size of the web-service client pool if parameter 'max-http-connections-per-host' is unset:voidtestGetWsClientMaxPoolSize_000()Check the value returns bySoapComponentContext.getConnMaxSize()if parameter 'max-http-connections-per-host' is set to a valid value.voidtestGetWsClientMaxPoolSize_100()Check the value returns bySoapComponentContext.getConnMaxSize()if parameter 'max-http-connections-per-host' is negative.voidtestGetWsClientMaxPoolSize_101()Check the value returns bySoapComponentContext.getConnMaxSize()if parameter 'max-http-connections-per-host' is set to 0.voidtestGetWsClientMaxPoolSize_102()Check the value returns bySoapComponentContext.getConnMaxSize()if parameter 'max-http-connections-per-host' is set to not number value.voidtestGetWsClientMaxPoolSize_103()Check the value returns bySoapComponentContext.getConnMaxSize()if parameter 'max-http-connections-per-host' is set to an emptyString.
-
-
-
Method Detail
-
testBorrowServiceClient_002
public void testBorrowServiceClient_002() throws ExceptionCheck the max size of the web-service client pool if parameter 'max-http-connections-per-host' is unset:
- it is equals to the max size of the processor pool,
- check that the right exception is thrown when the pool is exhausted,
- web-service client is available after one was returned
- Throws:
Exception
-
testGetWsClientMaxPoolSize_000
public void testGetWsClientMaxPoolSize_000() throws ExceptionCheck the value returns by
SoapComponentContext.getConnMaxSize()if parameter 'max-http-connections-per-host' is set to a valid value.Expected value is its default value: max size of the processor pool.
- Throws:
Exception
-
testGetWsClientMaxPoolSize_100
public void testGetWsClientMaxPoolSize_100() throws ExceptionCheck the value returns by
SoapComponentContext.getConnMaxSize()if parameter 'max-http-connections-per-host' is negative.Expected value is its default value: max size of the processor pool.
- Throws:
Exception
-
testGetWsClientMaxPoolSize_101
public void testGetWsClientMaxPoolSize_101() throws ExceptionCheck the value returns by
SoapComponentContext.getConnMaxSize()if parameter 'max-http-connections-per-host' is set to 0.Expected value is its default value: max size of the processor pool.
- Throws:
Exception
-
testGetWsClientMaxPoolSize_102
public void testGetWsClientMaxPoolSize_102() throws ExceptionCheck the value returns by
SoapComponentContext.getConnMaxSize()if parameter 'max-http-connections-per-host' is set to not number value.Expected value is its default value: max size of the processor pool.
- Throws:
Exception
-
testGetWsClientMaxPoolSize_103
public void testGetWsClientMaxPoolSize_103() throws ExceptionCheck the value returns by
SoapComponentContext.getConnMaxSize()if parameter 'max-http-connections-per-host' is set to an emptyString.Expected value is its default value: max size of the processor pool.
- Throws:
Exception
-
-