javax.faces.component
Class UIViewRootTestCase
java.lang.Object
JUnitFacesTestCase
javax.faces.component.UIComponentTestCase
javax.faces.component.UIComponentBaseTestCase
javax.faces.component.UIViewRootTestCase
public class UIViewRootTestCase
- extends UIComponentBaseTestCase
Test case for the javax.faces.UIViewRoot
concrete class.
Field Summary |
static java.lang.String[][] |
FACTORIES
|
Constructor Summary |
UIViewRootTestCase(java.lang.String name)
Construct a new instance of this test case. |
Methods inherited from class javax.faces.component.UIComponentBaseTestCase |
checkAttributes, checkComponentListeners, checkComponents, checkValueBindings, lifecycleTrace, lifecycleTrace, testChildrenAndFacetsWithNullGetParent, testChildrenListAfterAddPublish, testChildrenRecursive, testComponentReconnect, testComponentRemoval, testComponentToFromEL, testComponentToFromEL2, testComponentToFromELBackwardCompatible, testEncodeBeginPublish, testEncodeChildren, testGetFacetsAndChildren, testLifecycleManagement, testMethodBindingAdapterBaseException, testStateHolder, testStateHolder2, testValueBindings, testValueExpressions, testValueExpressionValueBindingIdempotency |
Methods inherited from class javax.faces.component.UIComponentTestCase |
checkAttributeCount, checkAttributeMissing, checkAttributePresent, checkChildCount, checkChildMissing, checkChildPresent, checkFacetCount, checkFacetMissing, checkFacetPresent, testAttributesMap, testAttributesNegative, testAttributesPositive, testAttributesTransparency, testChidrenNegative, testChidrenReplace, testChildrenIterator, testChildrenListIterator, testChildrenPositive, testFacetsMapEntrySet, testFacetsMapKeySet, testFacetsMapValues, testFacetsNegative, testFacetsPositive, testPristine, testPropertiesInvalid, testPropertiesValid, testValidationEvents |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FACTORIES
public static java.lang.String[][] FACTORIES
UIViewRootTestCase
public UIViewRootTestCase(java.lang.String name)
- Construct a new instance of this test case.
- Parameters:
name
- Name of the test case
suite
public static Test suite()
- Return the tests included in this test suite.
setUp
public void setUp()
throws java.lang.Exception
- Overrides:
setUp
in class UIComponentBaseTestCase
- Throws:
java.lang.Exception
tearDown
public void tearDown()
throws java.lang.Exception
- Tear down instance variables required by this test case.
- Overrides:
tearDown
in class UIComponentBaseTestCase
- Throws:
java.lang.Exception
testAddGetComponentResources
public void testAddGetComponentResources()
testAbortProcessingException
public void testAbortProcessingException()
testEventBroadcasting
public void testEventBroadcasting()
testEventQueuing
public void testEventQueuing()
testLocaleFromVB
public void testLocaleFromVB()
throws java.lang.Exception
- Throws:
java.lang.Exception
testUninitializedInstance
public void testUninitializedInstance()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPhaseMethExpression
public void testPhaseMethExpression()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPhaseMethExpressionSkipping
public void testPhaseMethExpressionSkipping()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPhaseListener
public void testPhaseListener()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPhaseListenerSkipping
public void testPhaseListenerSkipping()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPhaseMethodExpressionAndListener
public void testPhaseMethodExpressionAndListener()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPhaseMethodExpressionAndListenerSkipping
public void testPhaseMethodExpressionAndListenerSkipping()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPhaseMethExpressionState
public void testPhaseMethExpressionState()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPhaseListenerState
public void testPhaseListenerState()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPhaseMethodExpressionAndListenerState
public void testPhaseMethodExpressionAndListenerState()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPhaseListenerExceptions
public void testPhaseListenerExceptions()
throws java.lang.Exception
- Throws:
java.lang.Exception
doTestPhaseMethodExpression
public void doTestPhaseMethodExpression(UIViewRoot root,
boolean skipping)
throws java.lang.Exception
- Throws:
java.lang.Exception
doTestPhaseMethodExpressionWithPhaseId
public void doTestPhaseMethodExpressionWithPhaseId(UIViewRoot root,
PhaseId phaseId)
throws java.lang.Exception
- Throws:
java.lang.Exception
doTestPhaseListener
public void doTestPhaseListener(UIViewRoot root,
boolean skipping)
throws java.lang.Exception
- Throws:
java.lang.Exception
doTestPhaseListenerWithPhaseId
public void doTestPhaseListenerWithPhaseId(UIViewRoot root,
PhaseId phaseId)
throws java.lang.Exception
- Throws:
java.lang.Exception
doTestPhaseMethodExpressionAndListener
public void doTestPhaseMethodExpressionAndListener(UIViewRoot root,
boolean skipping)
throws java.lang.Exception
- Throws:
java.lang.Exception
doTestPhaseMethodExpressionAndListenerWithPhaseId
public void doTestPhaseMethodExpressionAndListenerWithPhaseId(UIViewRoot root,
PhaseId phaseId)
throws java.lang.Exception
- Throws:
java.lang.Exception
testEventsListClear
public void testEventsListClear()
testInvokeOnComponentPositive
public void testInvokeOnComponentPositive()
throws java.lang.Exception
- Overrides:
testInvokeOnComponentPositive
in class UIComponentBaseTestCase
- Throws:
java.lang.Exception
testInvokeOnComponentNegative
public void testInvokeOnComponentNegative()
throws java.lang.Exception
- Overrides:
testInvokeOnComponentNegative
in class UIComponentBaseTestCase
- Throws:
java.lang.Exception
testInvokeOnComponentWithPrependId
public void testInvokeOnComponentWithPrependId()
throws java.lang.Exception
- Overrides:
testInvokeOnComponentWithPrependId
in class UIComponentBaseTestCase
- Throws:
java.lang.Exception
testChildrenListAfterAddViewPublish
public void testChildrenListAfterAddViewPublish()
- Overrides:
testChildrenListAfterAddViewPublish
in class UIComponentBaseTestCase
testFacetMapAfterAddViewPublish
public void testFacetMapAfterAddViewPublish()
- Overrides:
testFacetMapAfterAddViewPublish
in class UIComponentBaseTestCase
testViewMapEventsTest
public void testViewMapEventsTest()
testViewMapSaveRestore
public void testViewMapSaveRestore()
throws java.lang.Exception
- Throws:
java.lang.Exception
checkProperties
protected void checkProperties(UIComponent comp1,
UIComponent comp2)
- Overrides:
checkProperties
in class UIComponentBaseTestCase
createComponent
protected UIComponent createComponent()
- Overrides:
createComponent
in class UIComponentBaseTestCase
populateComponent
protected void populateComponent(UIComponent component)
- Overrides:
populateComponent
in class UIComponentBaseTestCase
Copyright 2002-2011 Oracle America Inc, Inc. All Rights Reserved.