javax.faces.component
Class UIInputTestCase
java.lang.Object
JUnitFacesTestCase
javax.faces.component.UIComponentTestCase
javax.faces.component.UIComponentBaseTestCase
javax.faces.component.ValueHolderTestCaseBase
javax.faces.component.UIOutputTestCase
javax.faces.component.UIInputTestCase
- Direct Known Subclasses:
- UISelectBooleanTestCase, UISelectManyTestCase, UISelectOneTestCase
public class UIInputTestCase
- extends UIOutputTestCase
Unit tests for UIInput
.
Constructor Summary |
UIInputTestCase(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, tearDown, testChildrenAndFacetsWithNullGetParent, testChildrenListAfterAddPublish, testChildrenListAfterAddViewPublish, testChildrenRecursive, testComponentReconnect, testComponentRemoval, testComponentToFromEL, testComponentToFromEL2, testComponentToFromELBackwardCompatible, testEncodeBeginPublish, testEncodeChildren, testFacetMapAfterAddViewPublish, testGetFacetsAndChildren, testInvokeOnComponentNegative, testInvokeOnComponentPositive, testInvokeOnComponentWithPrependId, testMethodBindingAdapterBaseException, testStateHolder, testStateHolder2, testValueExpressions, testValueExpressionValueBindingIdempotency |
Methods inherited from class javax.faces.component.UIComponentTestCase |
checkAttributeCount, checkAttributeMissing, checkAttributePresent, checkChildCount, checkChildMissing, checkChildPresent, checkFacetCount, checkFacetMissing, checkFacetPresent, testAttributesMap, testAttributesNegative, testAttributesPositive, testChidrenNegative, testChidrenReplace, testChildrenIterator, testChildrenListIterator, testChildrenPositive, testFacetsMapEntrySet, testFacetsMapKeySet, testFacetsMapValues, testFacetsNegative, testFacetsPositive, testValidationEvents |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UIInputTestCase
public UIInputTestCase(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 UIOutputTestCase
- Throws:
java.lang.Exception
suite
public static Test suite()
testAttributesTransparency
public void testAttributesTransparency()
- Overrides:
testAttributesTransparency
in class UIOutputTestCase
testCompareValues
public void testCompareValues()
testEventsGeneric
public void testEventsGeneric()
testEventsMixed
public void testEventsMixed()
testListeners
public void testListeners()
testEmptyListeners
public void testEmptyListeners()
testPristine
public void testPristine()
- Overrides:
testPristine
in class UIOutputTestCase
testPropertiesInvalid
public void testPropertiesInvalid()
throws java.lang.Exception
- Overrides:
testPropertiesInvalid
in class UIOutputTestCase
- Throws:
java.lang.Exception
testPropertiesValid
public void testPropertiesValid()
throws java.lang.Exception
- Overrides:
testPropertiesValid
in class UIOutputTestCase
- Throws:
java.lang.Exception
testUpdateModel
public void testUpdateModel()
throws java.lang.Exception
- Throws:
java.lang.Exception
testValidateOrder
public void testValidateOrder()
throws java.lang.Exception
- Throws:
java.lang.Exception
testValidateRequired
public void testValidateRequired()
throws java.lang.Exception
- Throws:
java.lang.Exception
testValueBindings
public void testValueBindings()
- Overrides:
testValueBindings
in class UIOutputTestCase
testValueChangeOrder
public void testValueChangeOrder()
throws java.lang.Exception
- Throws:
java.lang.Exception
testImmediate
public void testImmediate()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetValueChangeListeners
public void testGetValueChangeListeners()
throws java.lang.Exception
- Throws:
java.lang.Exception
checkMessages
protected void checkMessages(int expected)
checkProperties
protected void checkProperties(UIComponent comp1,
UIComponent comp2)
- Overrides:
checkProperties
in class ValueHolderTestCaseBase
createComponent
protected UIComponent createComponent()
- Overrides:
createComponent
in class UIOutputTestCase
populateComponent
protected void populateComponent(UIComponent component)
- Overrides:
populateComponent
in class ValueHolderTestCaseBase
listenersAreEqual
protected boolean listenersAreEqual(FacesContext context,
UIInput comp1,
UIInput comp2)
setupNewValue
protected void setupNewValue(UIInput input)
validatorsAreEqual
protected boolean validatorsAreEqual(FacesContext context,
UIInput comp1,
UIInput comp2)
Copyright 2002-2011 Oracle America Inc, Inc. All Rights Reserved.