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

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

public class ModelValidation1TestCase
extends BaseBeanValPropertyValidationTestCase<ModelValidationTestCase1PageBean>


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
ModelValidation1TestCase()
           
 
Method Summary
protected  ModelValidationTestCase1PageBean getBeanToTest()
           
 void testModelValidation()
           
 void testModelViolationWithAdminRole()
           
 void testModelViolationWithGlobalViolationMessageViaField()
           
 void testModelViolationWithGlobalViolationMessageViaProperty()
           
 void testModelViolationWithInlineViolationMessageViaField()
           
 void testModelViolationWithInlineViolationMessageViaProperty()
           
 void testModelViolationWithUserRole()
           
 
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

ModelValidation1TestCase

public ModelValidation1TestCase()
Method Detail

getBeanToTest

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

testModelValidation

public void testModelValidation()

testModelViolationWithGlobalViolationMessageViaProperty

public void testModelViolationWithGlobalViolationMessageViaProperty()

testModelViolationWithInlineViolationMessageViaProperty

public void testModelViolationWithInlineViolationMessageViaProperty()

testModelViolationWithGlobalViolationMessageViaField

public void testModelViolationWithGlobalViolationMessageViaField()

testModelViolationWithInlineViolationMessageViaField

public void testModelViolationWithInlineViolationMessageViaField()

testModelViolationWithAdminRole

public void testModelViolationWithAdminRole()

testModelViolationWithUserRole

public void testModelViolationWithUserRole()


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