javax.faces.component
Class UIComponentBaseBehaviorTestCase

java.lang.Object
  extended by JUnitFacesTestCase
      extended by javax.faces.component.UIComponentTestCase
          extended by javax.faces.component.UIComponentBaseBehaviorTestCase

public class UIComponentBaseBehaviorTestCase
extends UIComponentTestCase

Test case for component behaviors.

Since:
2.0

Nested Class Summary
static class UIComponentBaseBehaviorTestCase.BehaviorComponent
           
static class UIComponentBaseBehaviorTestCase.TestBehavior
           
 
Nested classes/interfaces inherited from class javax.faces.component.UIComponentTestCase
UIComponentTestCase.Listener, UIComponentTestCase.ValidationSignal
 
Field Summary
 
Fields inherited from class javax.faces.component.UIComponentTestCase
component, expectedAttributes, expectedFamily, expectedId, expectedRendered, expectedRendererType, expectedRendersChildren
 
Constructor Summary
UIComponentBaseBehaviorTestCase(java.lang.String name)
           
 
Method Summary
static
<T> java.util.Set<T>
set(T... ts)
           
 void testAddBehavior()
          Test method for javax.faces.component.UIComponentBase#addClientBehavior(java.lang.String, javax.faces.component.behavior.Behavior).
 void testGetBehaviors()
          Test method for UIComponentBase.getClientBehaviors().
 void testGetDefaultEventName()
          Test method for UIComponentBase.getDefaultEventName().
 void testGetEventNames()
          Test method for UIComponentBase.getEventNames().
 void testNonClientBehaviorHolder()
           
 void testSaveState()
          Test method for UIComponentBase.saveState(javax.faces.context.FacesContext).
 
Methods inherited from class javax.faces.component.UIComponentTestCase
checkAttributeCount, checkAttributeMissing, checkAttributePresent, checkChildCount, checkChildMissing, checkChildPresent, checkFacetCount, checkFacetMissing, checkFacetPresent, setUp, suite, tearDown, 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
 

Constructor Detail

UIComponentBaseBehaviorTestCase

public UIComponentBaseBehaviorTestCase(java.lang.String name)
Method Detail

testSaveState

public void testSaveState()
Test method for UIComponentBase.saveState(javax.faces.context.FacesContext).


testNonClientBehaviorHolder

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

testAddBehavior

public void testAddBehavior()
Test method for javax.faces.component.UIComponentBase#addClientBehavior(java.lang.String, javax.faces.component.behavior.Behavior).


testGetEventNames

public void testGetEventNames()
Test method for UIComponentBase.getEventNames().


testGetBehaviors

public void testGetBehaviors()
Test method for UIComponentBase.getClientBehaviors().


testGetDefaultEventName

public void testGetDefaultEventName()
Test method for UIComponentBase.getDefaultEventName().


set

public static <T> java.util.Set<T> set(T... ts)


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