myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jakob Korherr (JIRA)" <...@myfaces.apache.org>
Subject [jira] Resolved: (MYFACES-2524) Change ExternalSpecifications to enable using it in automated tests
Date Fri, 29 Jan 2010 21:07:35 GMT

     [ https://issues.apache.org/jira/browse/MYFACES-2524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jakob Korherr resolved MYFACES-2524.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0-beta-2

I changed the public static final fields to private static fields and public getters with
lazy initialization. So the value of the fields can be changed using reflection (for automated
tests).

> Change ExternalSpecifications to enable using it in automated tests
> -------------------------------------------------------------------
>
>                 Key: MYFACES-2524
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2524
>             Project: MyFaces Core
>          Issue Type: Task
>    Affects Versions: 2.0.0-beta
>            Reporter: Jakob Korherr
>            Assignee: Jakob Korherr
>             Fix For: 2.0.0-beta-2
>
>
> Currently ExternalSpecifications is using public static final fields to hold the information
if something is available or not (e.g. bean validation). However, this is problematic for
automated testing, because the value can not be adapted for the test case (not even with reflection).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message