| |
|
| com.flexive.tests.embedded.jsf.util.MockFacesContext
MockFacesContext | public class MockFacesContext extends FacesContext (Code) | | Mock faces context - supports only some methods used in the backing beans.
|
MockFacesContext | public MockFacesContext()(Code) | | Default constructor
|
addMessage | public void addMessage(String clientId, FacesMessage message)(Code) | | |
getApplication | public Application getApplication()(Code) | | |
getClientIdsWithMessages | public Iterator getClientIdsWithMessages()(Code) | | |
getELContext | public ELContext getELContext()(Code) | | |
getExternalContext | public ExternalContext getExternalContext()(Code) | | |
getMaximumSeverity | public Severity getMaximumSeverity()(Code) | | |
getRenderKit | public RenderKit getRenderKit()(Code) | | |
getRenderResponse | public boolean getRenderResponse()(Code) | | |
getResponseComplete | public boolean getResponseComplete()(Code) | | |
getResponseStream | public ResponseStream getResponseStream()(Code) | | |
getResponseWriter | public ResponseWriter getResponseWriter()(Code) | | |
getViewRoot | public UIViewRoot getViewRoot()(Code) | | |
release | public void release()(Code) | | |
renderResponse | public void renderResponse()(Code) | | |
responseComplete | public void responseComplete()(Code) | | |
setMockContext | public static void setMockContext(MockFacesContext ctx)(Code) | | Set the current instance in the faces threadlocal.
Parameters: ctx - the mock context |
setResponseStream | public void setResponseStream(ResponseStream responseStream)(Code) | | |
setResponseWriter | public void setResponseWriter(ResponseWriter responseWriter)(Code) | | |
setViewRoot | public void setViewRoot(UIViewRoot root)(Code) | | |
|
|
|