jbossas/jboss-as — pull request #4077 by kabir (2013-02-15 11:48:01+00:00)
Title: AS7-6442 Isolated subsystem transformer tests classloader improvements

Make the subsystem transformer tests use the legacy server module and ALL its dependencies for the child-first classloader. Previously only the subsystem module was loaded up using the child-first classloader, meaning that the current server, controller etc. were being used. Using the full legacy dependencies is more in line with reality.

Made the operation validation in the legacy controller more fine-grained. Previously you turned it on or off for all ops, now you specify which ops should be excluded or resolved.

There as something slightly weird going on with jaxp initialization, see the TODOs in InfinispanSubsystemTransformerTestCase, JGroupsSubsystemTransformerTestCase, LoggingSubsystemTestCase and SubsystemTestDelegate which works around those for now. I plan to understand that better and hopefully fix that next.