Axis2TestBase: centralize server management in base class
---------------------------------------------------------

                 Key: ODE-271
                 URL: https://issues.apache.org/jira/browse/ODE-271
             Project: ODE
          Issue Type: Improvement
          Components: Axis2 Integration
    Affects Versions: 1.1.1, 1.2
            Reporter: Alexis Midon
             Fix For: 1.1.1


The org.apache.ode.axis2.Axis2TestBase raison d'etre is to embed an ODE server 
for test purpose. So concrete test classes may deploy processes, invoke 
operations, etc.

However as of day the server management is not at the base class level. 
Subclasses are responsible for starting/stopping the server. And if a test case 
does not stop the server the next test case to be executed will fail to start 
the server (since the port is already used etc).
Moreover management interface is kind of fuzzy (you have to call start to 
start, but server.stop() to shutdown).

This fix aims at centralize the server management in the base class.
Server is started/stopped in JUnit setUp/tearDown methods. So subclasses do not 
have to worry about anymore.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to