The mocks just helped me get moving and understand the key players in the MC. ;)
I agree mocking is not a long term solution for testing the facade. I have a local
TestCase I have been using which loads the OSGI deployers, but I have been waiting for
the classloading work to be further along, as the classloader was not set on the
DeploymentUnit after the deployment process completes. 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.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133332#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...