JSF Test Framework: Mock 1.1.2

org.jboss.test.faces.mock.context
Class MockPartialViewContext

java.lang.Object
  extended by javax.faces.context.PartialViewContext
      extended by org.jboss.test.faces.mock.context.MockPartialViewContext
All Implemented Interfaces:
FacesMockController.MockObject

public class MockPartialViewContext
extends javax.faces.context.PartialViewContext
implements FacesMockController.MockObject


Field Summary
 
Fields inherited from class javax.faces.context.PartialViewContext
ALL_PARTIAL_PHASE_CLIENT_IDS, PARTIAL_EXECUTE_PARAM_NAME, PARTIAL_RENDER_PARAM_NAME
 
Constructor Summary
MockPartialViewContext()
          Default constructor
MockPartialViewContext(org.easymock.IMocksControl control, String name)
           
 
Method Summary
 boolean equals(Object obj)
           
 org.easymock.IMocksControl getControl()
           
 Collection getExecuteIds()
           
 javax.faces.context.PartialResponseWriter getPartialResponseWriter()
           
 Collection getRenderIds()
           
 int hashCode()
           
 boolean isAjaxRequest()
           
 boolean isExecuteAll()
           
 boolean isPartialRequest()
           
 boolean isRenderAll()
           
 void processPartial(javax.faces.event.PhaseId arg0)
           
 void release()
           
 void setPartialRequest(boolean arg0)
           
 void setRenderAll(boolean arg0)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MockPartialViewContext

public MockPartialViewContext()
Default constructor


MockPartialViewContext

public MockPartialViewContext(org.easymock.IMocksControl control,
                              String name)
Parameters:
control -
Method Detail

getControl

public org.easymock.IMocksControl getControl()
Specified by:
getControl in interface FacesMockController.MockObject

release

public void release()
Specified by:
release in class javax.faces.context.PartialViewContext

getExecuteIds

public Collection getExecuteIds()
Specified by:
getExecuteIds in class javax.faces.context.PartialViewContext

getRenderIds

public Collection getRenderIds()
Specified by:
getRenderIds in class javax.faces.context.PartialViewContext

getPartialResponseWriter

public javax.faces.context.PartialResponseWriter getPartialResponseWriter()
Specified by:
getPartialResponseWriter in class javax.faces.context.PartialViewContext

isAjaxRequest

public boolean isAjaxRequest()
Specified by:
isAjaxRequest in class javax.faces.context.PartialViewContext

isPartialRequest

public boolean isPartialRequest()
Specified by:
isPartialRequest in class javax.faces.context.PartialViewContext

isExecuteAll

public boolean isExecuteAll()
Specified by:
isExecuteAll in class javax.faces.context.PartialViewContext

isRenderAll

public boolean isRenderAll()
Specified by:
isRenderAll in class javax.faces.context.PartialViewContext

setRenderAll

public void setRenderAll(boolean arg0)
Specified by:
setRenderAll in class javax.faces.context.PartialViewContext

setPartialRequest

public void setPartialRequest(boolean arg0)
Specified by:
setPartialRequest in class javax.faces.context.PartialViewContext

processPartial

public void processPartial(javax.faces.event.PhaseId arg0)
Specified by:
processPartial in class javax.faces.context.PartialViewContext

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

JSF Test Framework: Mock 1.1.2

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.