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

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<UseGroupValidationTestCase1PageBean>
                  extended by org.apache.myfaces.extensions.validator.test.beanval.UseGroupValidation1TestCase

public class UseGroupValidation1TestCase
extends BaseBeanValPropertyValidationTestCase<UseGroupValidationTestCase1PageBean>


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
UseGroupValidation1TestCase()
           
 
Method Summary
protected  UseGroupValidationTestCase1PageBean getBeanToTest()
           
 void testGroup1AndGroup2AwareValidation()
           
 void testGroup1AwareValidation()
           
 void testGroup2AndGroup3AwareValidationWithCorrectViewId1()
           
 void testGroup2AndGroup3AwareValidationWithCorrectViewId2()
           
 void testGroup2AndGroup3AwareValidationWithRoleUser()
           
 void testGroup2AndGroup3AwareValidationWithWrongViewId()
           
 void testGroup2AwareValidationWithRoleAdmin()
           
 
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

UseGroupValidation1TestCase

public UseGroupValidation1TestCase()
Method Detail

getBeanToTest

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

testGroup1AwareValidation

public void testGroup1AwareValidation()

testGroup1AndGroup2AwareValidation

public void testGroup1AndGroup2AwareValidation()

testGroup2AndGroup3AwareValidationWithWrongViewId

public void testGroup2AndGroup3AwareValidationWithWrongViewId()

testGroup2AndGroup3AwareValidationWithCorrectViewId1

public void testGroup2AndGroup3AwareValidationWithCorrectViewId1()

testGroup2AndGroup3AwareValidationWithCorrectViewId2

public void testGroup2AndGroup3AwareValidationWithCorrectViewId2()

testGroup2AwareValidationWithRoleAdmin

public void testGroup2AwareValidationWithRoleAdmin()

testGroup2AndGroup3AwareValidationWithRoleUser

public void testGroup2AndGroup3AwareValidationWithRoleUser()


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