javax.faces.component
Class UIComponentBaseTestCase
java.lang.Object
JUnitFacesTestCase
javax.faces.component.UIComponentTestCase
javax.faces.component.UIComponentBaseTestCase
- Direct Known Subclasses:
- StateHolderSaverTestCase, UIColumnTestCase, UICommandTestCase, UIDataTestCase, UIFormTestCase, UIGraphicTestCase, UIPanelTestCase, UIParameterTestCase, UISelectItemsTestCase, UISelectItemTestCase, UIViewRootTestCase, ValueHolderTestCaseBase
public class UIComponentBaseTestCase
- extends UIComponentTestCase
Base unit tests for all UIComponentBase
subclasses.
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 |
UIComponentBaseTestCase
public UIComponentBaseTestCase(java.lang.String name)
- Construct a new instance of this test case.
- Parameters:
name
- Name of the test case
setUp
public void setUp()
throws java.lang.Exception
- Overrides:
setUp
in class UIComponentTestCase
- Throws:
java.lang.Exception
suite
public static Test suite()
tearDown
public void tearDown()
throws java.lang.Exception
- Overrides:
tearDown
in class UIComponentTestCase
- Throws:
java.lang.Exception
testLifecycleManagement
public void testLifecycleManagement()
testComponentToFromELBackwardCompatible
public void testComponentToFromELBackwardCompatible()
testComponentToFromEL
public void testComponentToFromEL()
testComponentToFromEL2
public void testComponentToFromEL2()
throws java.lang.Exception
- Throws:
java.lang.Exception
testEncodeChildren
public void testEncodeChildren()
throws java.lang.Exception
- Throws:
java.lang.Exception
testChildrenRecursive
public void testChildrenRecursive()
testChildrenAndFacetsWithNullGetParent
public void testChildrenAndFacetsWithNullGetParent()
throws java.lang.Exception
- Throws:
java.lang.Exception
testComponentReconnect
public void testComponentReconnect()
testComponentRemoval
public void testComponentRemoval()
testStateHolder
public void testStateHolder()
throws java.lang.Exception
- Throws:
java.lang.Exception
testStateHolder2
public void testStateHolder2()
throws java.lang.Exception
- Throws:
java.lang.Exception
testValueBindings
public void testValueBindings()
testValueExpressions
public void testValueExpressions()
throws java.lang.Exception
- Throws:
java.lang.Exception
testValueExpressionValueBindingIdempotency
public void testValueExpressionValueBindingIdempotency()
throws java.lang.Exception
- Throws:
java.lang.Exception
testMethodBindingAdapterBaseException
public void testMethodBindingAdapterBaseException()
throws java.lang.Exception
- Throws:
java.lang.Exception
checkAttributes
protected void checkAttributes(UIComponent comp1,
UIComponent comp2)
checkComponents
protected void checkComponents(UIComponent comp1,
UIComponent comp2)
checkProperties
protected void checkProperties(UIComponent comp1,
UIComponent comp2)
checkValueBindings
protected void checkValueBindings(UIComponent comp1,
UIComponent comp2)
checkComponentListeners
protected void checkComponentListeners(UIComponent control,
UIComponent toValidate)
createComponent
protected UIComponent createComponent()
populateComponent
protected void populateComponent(UIComponent component)
lifecycleTrace
protected java.lang.String lifecycleTrace(java.lang.String lmethod,
java.lang.String cmethod)
- Construct and return a lifecycle method call trace for the specified
method names.
- Parameters:
lmethod
- Name of the lifecycle method under testcmethod
- Name of the component method that corresponds
lifecycleTrace
protected void lifecycleTrace(java.lang.String lmethod,
java.lang.String cmethod,
UIComponent component,
java.lang.StringBuffer sb)
testGetFacetsAndChildren
public void testGetFacetsAndChildren()
testInvokeOnComponentPositive
public void testInvokeOnComponentPositive()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInvokeOnComponentNegative
public void testInvokeOnComponentNegative()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInvokeOnComponentWithPrependId
public void testInvokeOnComponentWithPrependId()
throws java.lang.Exception
- Throws:
java.lang.Exception
testChildrenListAfterAddPublish
public void testChildrenListAfterAddPublish()
testFacetMapAfterAddViewPublish
public void testFacetMapAfterAddViewPublish()
testChildrenListAfterAddViewPublish
public void testChildrenListAfterAddViewPublish()
testEncodeBeginPublish
public void testEncodeBeginPublish()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright 2002-2011 Oracle America Inc, Inc. All Rights Reserved.