| org.objectweb.jonas.jtests.util.JWebServicesTestCase
All known Subclasses: org.objectweb.jonas.jtests.clients.endpoint.F_TimeEndpoint, org.objectweb.jonas.jtests.clients.wsgen.C_wsgen, org.objectweb.jonas.jtests.clients.wssecured.F_WsSecuredMultipleEndpoint, org.objectweb.jonas.jtests.clients.service.C_service, org.objectweb.jonas.jtests.clients.mcontext.F_MessageContext, org.objectweb.jonas.jtests.clients.service.F_PortComponentLink, org.objectweb.jonas.jtests.clients.service.A_ServiceUsage, org.objectweb.jonas.jtests.clients.service.F_AxisService, org.objectweb.jonas.jtests.clients.wsgen.A_WsGen, org.objectweb.jonas.jtests.clients.endpoint.C_endpoint, org.objectweb.jonas.jtests.clients.wssecured.C_wssecured, org.objectweb.jonas.jtests.clients.mbeans.F_WebServicesMBeans,
JWebServicesTestCase | public class JWebServicesTestCase extends TestCase (Code) | | Define a class to add useful methods for test the webservices
- Deploy ear, war and beans
- Retrieve initial context
author: Florent Benoit |
ictx | protected static Context ictx(Code) | | Initial context used for lookup
|
wc | protected WebConversation wc(Code) | | Conversation used for HttpUnit
|
JWebServicesTestCase | public JWebServicesTestCase(String s)(Code) | | Constructor with a specified name
Parameters: s - the name |
JWebServicesTestCase | public JWebServicesTestCase(String s, String url)(Code) | | Constructor with a specified name and url
Parameters: s - the name Parameters: url - the url which can be used |
getAbsoluteUrl | protected String getAbsoluteUrl(String url)(Code) | | Add to the specified url the prefix
Parameters: url - relative URL absolute path of URL |
setUp | protected void setUp() throws Exception(Code) | | Common setUp routine, used for every test.
throws: Exception - if an error occurs |
unUseBeans | public void unUseBeans(String filename) throws Exception(Code) | | Unload a bean jar file in the jonas server
Parameters: filename - jar file, without ".jar" extension throws: Exception - if an error occurs |
useBeans | public void useBeans(String filename) throws Exception(Code) | | Load a bean jar file in the jonas server
Parameters: filename - jar file, without ".jar" extension throws: Exception - if an error occurs |
useEar | public void useEar(String filename) throws Exception(Code) | | Load an ear file in the jonas server
Parameters: filename - ear file, without ".ear" extension throws: Exception - if an error occurs |
useWar | public void useWar(String filename) throws Exception(Code) | | Load a war file in the jonas server
Parameters: filename - war file, without ".war" extension throws: Exception - if an error occurs |
|
|