org.apache.myfaces.extensions.validator.test.propval.constraintsource
Class ConstraintSourceAwareValidation4TestCase

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.propval.AbstractPropertyValidationTestCase
              extended by org.apache.myfaces.extensions.validator.test.propval.constraintsource.AbstractConstraintSourceTestCase<ConstraintSourceAware4Bean>
                  extended by org.apache.myfaces.extensions.validator.test.propval.constraintsource.ConstraintSourceAwareValidation4TestCase

public class ConstraintSourceAwareValidation4TestCase
extends AbstractConstraintSourceTestCase<ConstraintSourceAware4Bean>


Field Summary
 
Fields inherited from class org.apache.myfaces.extensions.validator.test.propval.constraintsource.AbstractConstraintSourceTestCase
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
ConstraintSourceAwareValidation4TestCase()
           
 
Method Summary
protected  ConstraintSourceAware4Bean getBeanToTest()
           
 void testMethodBasedConstraintSourceAndTargetPropertyAnnotation()
           
 void testMissingBasedConstraintSource()
           
 
Methods inherited from class org.apache.myfaces.extensions.validator.test.propval.constraintsource.AbstractConstraintSourceTestCase
assertComponentInvalid, assertComponentValid, createValueBindingForComponent, resetTestCase, setUpTestCase, setValueToValidate, updateComponents, validateComponents
 
Methods inherited from class org.apache.myfaces.extensions.validator.test.propval.AbstractPropertyValidationTestCase
invokeStartupListeners, processCrossValidation
 
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

ConstraintSourceAwareValidation4TestCase

public ConstraintSourceAwareValidation4TestCase()
Method Detail

getBeanToTest

protected ConstraintSourceAware4Bean getBeanToTest()
Specified by:
getBeanToTest in class AbstractConstraintSourceTestCase<ConstraintSourceAware4Bean>

testMethodBasedConstraintSourceAndTargetPropertyAnnotation

public void testMethodBasedConstraintSourceAndTargetPropertyAnnotation()

testMissingBasedConstraintSource

public void testMissingBasedConstraintSource()


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