org.apache.myfaces.test.utils
Class MockTestViewHandler

java.lang.Object
  extended by javax.faces.application.ViewHandler
      extended by org.apache.shale.test.mock.MockViewHandler
          extended by org.apache.myfaces.test.utils.MockTestViewHandler

public class MockTestViewHandler
extends org.apache.shale.test.mock.MockViewHandler

This class is a temporary workaround for test cases that need a MockViewHandler that doesn't throw an UnsupportedOperationException inside writeState(). This is not needed anymore once the fix for SHALE-468 is released.


Field Summary
 
Fields inherited from class javax.faces.application.ViewHandler
CHARACTER_ENCODING_KEY, DEFAULT_SUFFIX, DEFAULT_SUFFIX_PARAM_NAME
 
Constructor Summary
MockTestViewHandler()
           
 
Method Summary
 void writeState(javax.faces.context.FacesContext context)
           
 
Methods inherited from class org.apache.shale.test.mock.MockViewHandler
calculateLocale, calculateRenderKitId, createView, getActionURL, getResourceURL, renderView, restoreView
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockTestViewHandler

public MockTestViewHandler()
Method Detail

writeState

public void writeState(javax.faces.context.FacesContext context)
Overrides:
writeState in class org.apache.shale.test.mock.MockViewHandler


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.