>From: "Dennis Byrne" <[EMAIL PROTECTED]> > > This passes w/ MyFaces, and fails w/ the RI . > > assertFalse(facesContext.getViewRoot().getRenderKitId() == null); > > It *should fail* for both. Can we please explicitly set renderKitId in > AbstractJsfTestCase.setUp() ? I am stuck on the following issue because > fixing > it blows up many children of AbstractJsfTestCase. > > http://issues.apache.org/jira/browse/MYFACES-1155 > > If Shale UTF does not explicity set the renderKitId on UIViewRoot, I would > have > to stick a class between AbstractJsfTestCase and many descendants to achive > this > - just to fix a one liner in core :) >
I'm not sure why this behaves differently between myfaces and the RI but I've been able to set the renderKitId and it seems to work on both runtimes, as you described above. http://svn.apache.org/viewcvs.cgi/struts/shale/trunk/clay-plugin/src/test/org/apache/shale/clay/config/CommentTestCase.java?view=markup It might be that the value of the constant RenderKitFactory.HTML_BASIC_RENDER_KIT is not the same between the two? Gary > Dennis Byrne > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >