[jboss-jira] [JBoss JIRA] Updated: (JBCACHE-822) Reconsider validation of EvictionPolicyConfig objects

Brian Stansberry (JIRA) jira-events at jboss.com
Tue Jan 9 14:59:27 EST 2007


     [ http://jira.jboss.com/jira/browse/JBCACHE-822?page=all ]

Brian Stansberry updated JBCACHE-822:
-------------------------------------

    Fix Version/s:     (was: 2.0.0.GA)
                   2.0.0.BETA1

> Reconsider validation of EvictionPolicyConfig objects
> -----------------------------------------------------
>
>                 Key: JBCACHE-822
>                 URL: http://jira.jboss.com/jira/browse/JBCACHE-822
>             Project: JBoss Cache
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>            Reporter: Brian Stansberry
>         Assigned To: Brian Stansberry
>             Fix For: 2.0.0.BETA1
>
>
> In the legacy code, various impls of EvictionConfiguration would validate input during calls to parseXmlConfig.  Problem is that if a config was instantiated and configured programatically, no validation occurred. Further the old parseXmlConfig validations basically just tested whether a configuration element was present, not whether it had a reasonable value.  
> The new validate() methods really should just test for reasonable values; whether the value was configured externally or was there by default is irrelevant.
> Main task here is to remove some old unit tests that checked whether a value was set or not during xml parsing and replace with tests that check whether the reasonable value requirement is enforced.
> Probably will do this after alpha.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list