How to load faces-config.xml in the test framework?

2007-01-01 Thread Paul Spencer
How do I load faces-config.xml when running a test based on AbstractJsfTestCase? My current testing manually adds the renderers during setUp(). This work, but it has the following drawbacks: 1) The association between a component and it renderer must be maintained in more then one place.

Re: How to load faces-config.xml in the test framework?

2007-01-01 Thread Craig McClanahan
On 1/1/07, Paul Spencer [EMAIL PROTECTED] wrote: How do I load faces-config.xml when running a test based on AbstractJsfTestCase? My current testing manually adds the renderers during setUp(). This work, but it has the following drawbacks: 1) The association between a component and it

Re: How to load faces-config.xml in the test framework?

2007-01-01 Thread Paul Spencer
Craig, Yes, we are thing along the same lines. As an example, I have a version hardcoded to MyFaces renderers in place [1][2]. I suspect configuring a digester type utility that reads faces-config.xml located in the class path like JSF implementation do, but also allows a file to be passed