On 2/18/06, Sean Schofield <[EMAIL PROTECTED]> wrote: > > I believe the problem I was not running the entire test suite of > myfaces tests in my IDE. When I ran them in Maven, I believe an > earlier test was calling the get method for the RenderKitFactory and > therefore loading the default one into memory. Apparently you are not > allowed to set a new one (as the setup in the AbstractJsfTestCase > attempts to do) once the getter is called. > > I changed the struts code to releaseFactories() in the setup method to > ensure you are able to set the factories as anticipated.
+1. That's also something that might make sense as an application shuts down, in order to prevent potential memory leaks. I'll take a look at that. Sean > > ps. Nice work on this test stuff. I think we are going to convert all > of the MyFaces tests to use it! Cool! I'm glad it's helpful. Craig