javax.faces.component
Class UISelectManyTestCase

java.lang.Object
  extended by JUnitFacesTestCase
      extended by javax.faces.component.UIComponentTestCase
          extended by javax.faces.component.UIComponentBaseTestCase
              extended by javax.faces.component.ValueHolderTestCaseBase
                  extended by javax.faces.component.UIOutputTestCase
                      extended by javax.faces.component.UIInputTestCase
                          extended by javax.faces.component.UISelectManyTestCase

public class UISelectManyTestCase
extends UIInputTestCase

Unit tests for UISelectMany.


Nested Class Summary
 
Nested classes/interfaces inherited from class javax.faces.component.UIComponentBaseTestCase
UIComponentBaseTestCase.ComponentListener, UIComponentBaseTestCase.CustomAbortProcessingException, UIComponentBaseTestCase.Listener, UIComponentBaseTestCase.QueueingListener, UIComponentBaseTestCase.UIComponentListener, UIComponentBaseTestCase.UIComponentOverrideEncodeBegin, UIComponentBaseTestCase.UIComponentOverrideEncodeEnd
 
Nested classes/interfaces inherited from class javax.faces.component.UIComponentTestCase
UIComponentTestCase.ValidationSignal
 
Field Summary
 
Fields inherited from class javax.faces.component.UIComponentTestCase
component, expectedAttributes, expectedFamily, expectedId, expectedRendered, expectedRendererType, expectedRendersChildren
 
Constructor Summary
UISelectManyTestCase(java.lang.String name)
          Construct a new instance of this test case.
 
Method Summary
protected  UIComponent createComponent()
           
 void setUp()
           
protected  void setupNewValue(UIInput input)
           
protected  java.util.List setupOptions()
           
protected  java.util.Set setupOptionsSet()
           
static Test suite()
           
 void testCompareValues()
           
 void testPristine()
           
 void testPropertiesInvalid()
           
 void testPropertiesValid()
           
 void testSelectItemsIterator()
           
 void testValidateNested()
           
 void testValidateNestedSet()
           
 void testValidateRequired()
           
 void testValidation()
           
 void testValidation2()
           
 void testValidation3()
           
 void testValidation4()
           
 void testValidation5()
           
 void testValueBindings()
           
 
Methods inherited from class javax.faces.component.UIInputTestCase
checkMessages, checkProperties, listenersAreEqual, populateComponent, testAttributesTransparency, testEmptyListeners, testEventsGeneric, testEventsMixed, testGetValueChangeListeners, testImmediate, testListeners, testUpdateModel, testValidateOrder, testValueChangeOrder, validatorsAreEqual
 
Methods inherited from class javax.faces.component.UIOutputTestCase
testLifecycleManagement
 
Methods inherited from class javax.faces.component.ValueHolderTestCaseBase
checkNumberConverter, checkNumberConverters, createNumberConverter, doTestAttributesTransparency, testAttributesTransparencyNonDeterministic
 
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
 

Constructor Detail

UISelectManyTestCase

public UISelectManyTestCase(java.lang.String name)
Construct a new instance of this test case.

Parameters:
name - Name of the test case
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Overrides:
setUp in class UIInputTestCase
Throws:
java.lang.Exception

suite

public static Test suite()

testCompareValues

public void testCompareValues()
Overrides:
testCompareValues in class UIInputTestCase

testPristine

public void testPristine()
Overrides:
testPristine in class UIInputTestCase

testPropertiesInvalid

public void testPropertiesInvalid()
                           throws java.lang.Exception
Overrides:
testPropertiesInvalid in class UIInputTestCase
Throws:
java.lang.Exception

testPropertiesValid

public void testPropertiesValid()
                         throws java.lang.Exception
Overrides:
testPropertiesValid in class UIInputTestCase
Throws:
java.lang.Exception

testValidation

public void testValidation()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testValidation2

public void testValidation2()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testValidation3

public void testValidation3()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testValidation4

public void testValidation4()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testValidation5

public void testValidation5()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testValidateNested

public void testValidateNested()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testValidateNestedSet

public void testValidateNestedSet()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testValidateRequired

public void testValidateRequired()
                          throws java.lang.Exception
Overrides:
testValidateRequired in class UIInputTestCase
Throws:
java.lang.Exception

testValueBindings

public void testValueBindings()
Overrides:
testValueBindings in class UIInputTestCase

testSelectItemsIterator

public void testSelectItemsIterator()

createComponent

protected UIComponent createComponent()
Overrides:
createComponent in class UIInputTestCase

setupNewValue

protected void setupNewValue(UIInput input)
Overrides:
setupNewValue in class UIInputTestCase

setupOptions

protected java.util.List setupOptions()

setupOptionsSet

protected java.util.Set setupOptionsSet()


Copyright 2002-2011 Oracle America Inc, Inc. All Rights Reserved.