[Design of OSGi Integration] - Re: Logging and Exception Handling
by adrian@jboss.org
"johnbailey" wrote : It looks like a lot of work has been done with the classloading, so I will pull my local OSGI deployer and make sure it follows a similar pattern to the BootstrapDeployersTest and base the facade test off that.
|
The way you had it means it will boot the server for every individual test
(very slow :-). I've fixed it (you should use the super class to construct
the TestSuite), and also made it so it undeploys the test deployment
in teardown() to match the setUp().
If you are going to share a deployment throughout all tests, you might consider
adding something that deploys things based on the test class name, rather
than for each individual test.
e.g. Look at MicrocontainerTestDelegate::deploy()
which tries to deploy an org.jboss.test.xxx.xml for a test called
org.jboss.test.xxx.class
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133594#4133594
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133594
16 years, 1 month