Search in sources :

Example 1 with MockRenderKit

use of org.apache.myfaces.test.mock.MockRenderKit in project deltaspike by apache.

the class MockedJsf2TestContainer method initRenderKit.

protected void initRenderKit() {
    RenderKitFactory renderKitFactory = (RenderKitFactory) FactoryFinder.getFactory(FactoryFinder.RENDER_KIT_FACTORY);
    this.renderKit = new MockRenderKit();
    renderKitFactory.addRenderKit(RenderKitFactory.HTML_BASIC_RENDER_KIT, this.renderKit);
}
Also used : MockRenderKit(org.apache.myfaces.test.mock.MockRenderKit) RenderKitFactory(javax.faces.render.RenderKitFactory) MockRenderKitFactory(org.apache.myfaces.test.mock.MockRenderKitFactory)

Aggregations

RenderKitFactory (javax.faces.render.RenderKitFactory)1 MockRenderKit (org.apache.myfaces.test.mock.MockRenderKit)1 MockRenderKitFactory (org.apache.myfaces.test.mock.MockRenderKitFactory)1