javax.faces.component
Class _Delta2StateHelperTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jmock.core.VerifyingTestCase
              extended by org.jmock.core.MockObjectSupportTestCase
                  extended by org.jmock.MockObjectTestCase
                      extended by org.jmock.cglib.MockObjectTestCase
                          extended by org.apache.myfaces.test.jmock.AbstractJmockJsfTestCase
                              extended by javax.faces.component.AbstractComponentTest
                                  extended by javax.faces.component._Delta2StateHelperTest
All Implemented Interfaces:
junit.framework.Test

public class _Delta2StateHelperTest
extends AbstractComponentTest


Nested Class Summary
static class _Delta2StateHelperTest.TestPhaseListener1
           
static class _Delta2StateHelperTest.TestPhaseListener2
           
static class _Delta2StateHelperTest.UITestComponent
           
 
Field Summary
 
Fields inherited from class org.apache.myfaces.test.jmock.AbstractJmockJsfTestCase
application, config, externalContext, facesContext, facesContextFactory, lifecycle, lifecycleFactory, renderKit, request, response, servletContext, session
 
Fields inherited from class org.jmock.core.MockObjectSupportTestCase
ANYTHING, NOT_NULL, NULL
 
Constructor Summary
_Delta2StateHelperTest(String name)
           
 
Method Summary
protected  void setUp()
          TODO
protected  void tearDown()
          TODO
 void testAddItemOnList1()
           
 void testAddItemOnList2()
           
 void testAddItemOnList3()
           
 void testDeltaStateSaveRestore()
           
 void testEmptySaveRestore()
           
 void testPutItemOnMap1()
           
 void testPutPropertyStateHelper1()
           
 void testPutPropertyStateHelper2()
           
 void testPutRemoveItemOnMap2()
           
 void testPutRemoveItemOnMap3()
           
 void testRemovePropertyStateHelper1()
           
 void testSimpleGetterSetter()
           
 void testSimpleSaveRestore()
           
 void testUIViewRootPhaseListener1()
           
 void testUIViewRootPhaseListener2()
           
 void testUIViewRootPhaseListener3()
           
 
Methods inherited from class org.apache.myfaces.test.jmock.AbstractJmockJsfTestCase
setFactories, setUpApplication, setUpExternalContext, setUpFacesContext, setUpJSFObjects, setUpLifecycle, setUpRenderKit, setUpServletObjects, setUpView
 
Methods inherited from class org.jmock.cglib.MockObjectTestCase
mock, mock, newCoreMock, newCoreMock
 
Methods inherited from class org.jmock.MockObjectTestCase
atLeastOnce, atMostOnce, defaultMockNameForType, doAll, doAll, doAll, doAll, exactly, mock, mock, never, never, newDummy, newDummy, newDummy, once, onConsecutiveCalls, onConsecutiveCalls, onConsecutiveCalls, onConsecutiveCalls, returnIterator, returnIterator, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, throwException
 
Methods inherited from class org.jmock.core.MockObjectSupportTestCase
and, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, collectionContaining, collectionContaining, compatibleType, contains, endsWith, eq, eq, eq, eq, eq, eq, eq, eq, eq, eq, hasProperty, hasProperty, isA, isIn, isIn, mapContaining, mapContaining, mapWithKey, mapWithKey, mapWithValue, mapWithValue, not, or, same, startsWith, stringContains, toString
 
Methods inherited from class org.jmock.core.VerifyingTestCase
registerToVerify, runBare, unregisterToVerify, verify
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, 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

_Delta2StateHelperTest

public _Delta2StateHelperTest(String name)
Method Detail

setUp

protected void setUp()
              throws Exception
Description copied from class: AbstractComponentTest
TODO

Overrides:
setUp in class AbstractComponentTest
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Description copied from class: AbstractComponentTest
TODO

Overrides:
tearDown in class AbstractComponentTest
Throws:
Exception

testSimpleGetterSetter

public void testSimpleGetterSetter()
                            throws Exception
Throws:
Exception

testEmptySaveRestore

public void testEmptySaveRestore()
                          throws Exception
Throws:
Exception

testSimpleSaveRestore

public void testSimpleSaveRestore()
                           throws Exception
Throws:
Exception

testDeltaStateSaveRestore

public void testDeltaStateSaveRestore()

testPutPropertyStateHelper1

public void testPutPropertyStateHelper1()

testPutPropertyStateHelper2

public void testPutPropertyStateHelper2()

testRemovePropertyStateHelper1

public void testRemovePropertyStateHelper1()

testAddItemOnList1

public void testAddItemOnList1()

testAddItemOnList2

public void testAddItemOnList2()

testAddItemOnList3

public void testAddItemOnList3()

testPutItemOnMap1

public void testPutItemOnMap1()

testPutRemoveItemOnMap2

public void testPutRemoveItemOnMap2()

testPutRemoveItemOnMap3

public void testPutRemoveItemOnMap3()

testUIViewRootPhaseListener1

public void testUIViewRootPhaseListener1()
                                  throws Exception
Throws:
Exception

testUIViewRootPhaseListener2

public void testUIViewRootPhaseListener2()
                                  throws Exception
Throws:
Exception

testUIViewRootPhaseListener3

public void testUIViewRootPhaseListener3()
                                  throws Exception
Throws:
Exception


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