org.apache.myfaces.extensions.validator.test.beanval
Class RestrictGroupsTestCase

java.lang.Object
  extended by org.apache.myfaces.test.base.junit4.AbstractJsfConfigurableMockTestCase
      extended by org.apache.myfaces.extensions.validator.test.base.AbstractExValTestCase
          extended by org.apache.myfaces.extensions.validator.test.beanval.AbstractBeanValidationTestCase
              extended by org.apache.myfaces.extensions.validator.test.beanval.BaseBeanValPropertyValidationTestCase<RestrictGroupValidationTestCase1PageBean>
                  extended by org.apache.myfaces.extensions.validator.test.beanval.RestrictGroupsTestCase

public class RestrictGroupsTestCase
extends BaseBeanValPropertyValidationTestCase<RestrictGroupValidationTestCase1PageBean>


Field Summary
 
Fields inherited from class org.apache.myfaces.extensions.validator.test.beanval.BaseBeanValPropertyValidationTestCase
bean, inputComponent1, inputComponent2, inputComponent3
 
Fields inherited from class org.apache.myfaces.test.base.junit4.AbstractJsfConfigurableMockTestCase
application, config, externalContext, facesContext, facesContextFactory, lifecycle, lifecycleFactory, renderKit, request, response, servletContext, session
 
Constructor Summary
RestrictGroupsTestCase()
           
 
Method Summary
protected  RestrictGroupValidationTestCase1PageBean getBeanToTest()
           
 void testRestrictedGroup()
           
 void testRestrictedGroupWithAdminRole()
           
 void testRestrictedGroupWithCorrectViewId()
           
 void testRestrictedGroupWithUserRole()
           
 void testRestrictedGroupWithWrongViewId()
           
 void testUsedAndRestrictedGroup()
           
 
Methods inherited from class org.apache.myfaces.extensions.validator.test.beanval.BaseBeanValPropertyValidationTestCase
assertComponentInvalid, assertComponentValid, createValueBindingForComponent, resetTestCase, setUpTestCase, setValueToValidate, updateComponents, validateComponents
 
Methods inherited from class org.apache.myfaces.extensions.validator.test.beanval.AbstractBeanValidationTestCase
invokeStartupListeners, processModelValidation
 
Methods inherited from class org.apache.myfaces.extensions.validator.test.base.AbstractExValTestCase
addInitializationParameters, addInitParameter, assertIdExists, assertNavigationBlocked, checkMessageCount, checkMessageCount, checkMessageSeverities, createRequestScopedBean, createValueBinding, getCustomConfigObjects, getCustomExtValCoreConfiguration, reset, resetExtValContext, resolveBean, setFactories, setUp, setUpApplication, setUpFacesContext, setUpRenderKit, setUpServletObjects
 
Methods inherited from class org.apache.myfaces.test.base.junit4.AbstractJsfConfigurableMockTestCase
setUpExternalContext, setUpJSFObjects, setUpLifecycle, setUpView, tearDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestrictGroupsTestCase

public RestrictGroupsTestCase()
Method Detail

getBeanToTest

protected RestrictGroupValidationTestCase1PageBean getBeanToTest()
Specified by:
getBeanToTest in class BaseBeanValPropertyValidationTestCase<RestrictGroupValidationTestCase1PageBean>

testRestrictedGroup

public void testRestrictedGroup()

testRestrictedGroupWithAdminRole

public void testRestrictedGroupWithAdminRole()

testRestrictedGroupWithUserRole

public void testRestrictedGroupWithUserRole()

testRestrictedGroupWithCorrectViewId

public void testRestrictedGroupWithCorrectViewId()

testRestrictedGroupWithWrongViewId

public void testRestrictedGroupWithWrongViewId()

testUsedAndRestrictedGroup

public void testUsedAndRestrictedGroup()


Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.