org.apache.myfaces.custom.savestate
Class UISaveStateTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.myfaces.test.base.AbstractJsfTestCase
              extended by org.apache.myfaces.test.base.AbstractViewControllerTestCase
                  extended by org.apache.myfaces.test.AbstractTomahawkViewControllerTestCase
                      extended by org.apache.myfaces.custom.savestate.UISaveStateTest
All Implemented Interfaces:
junit.framework.Test

public class UISaveStateTest
extends AbstractTomahawkViewControllerTestCase

Author:
cagatay Tests for UISaveState

Field Summary
 
Fields inherited from class org.apache.myfaces.test.base.AbstractJsfTestCase
application, config, externalContext, facesContext, facesContextFactory, lifecycle, lifecycleFactory, renderKit, request, response, servletContext, session
 
Constructor Summary
UISaveStateTest(String name)
           
 
Method Summary
 void setUp()
          Setup the test environment, including the following: Set the Application Map. Set a response writer Add Tomahawk's renderers to the faces context.
static junit.framework.Test suite()
           
 void tearDown()
          Tear down the test environment.
 void testWorksWithLinkedList()
           
 void testWorksWithStateHolder()
           
 
Methods inherited from class org.apache.myfaces.test.AbstractTomahawkViewControllerTestCase
assertIdExists
 
Methods inherited from class org.apache.myfaces.test.base.AbstractViewControllerTestCase
checkMessageCount, checkMessageCount
 
Methods inherited from class org.apache.myfaces.test.base.AbstractJsfTestCase
setFactories, setUpApplication, setUpExternalContext, setUpFacesContext, setUpJSFObjects, setUpLifecycle, setUpRenderKit, setUpServletObjects, setUpView
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UISaveStateTest

public UISaveStateTest(String name)
Method Detail

suite

public static junit.framework.Test suite()

setUp

public void setUp()
           throws Exception
Description copied from class: AbstractTomahawkViewControllerTestCase
Setup the test environment, including the following:

Overrides:
setUp in class AbstractTomahawkViewControllerTestCase
Throws:
Exception

tearDown

public void tearDown()
              throws Exception
Description copied from class: AbstractTomahawkViewControllerTestCase
Tear down the test environment.

Overrides:
tearDown in class AbstractTomahawkViewControllerTestCase
Throws:
Exception

testWorksWithLinkedList

public void testWorksWithLinkedList()

testWorksWithStateHolder

public void testWorksWithStateHolder()


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