You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Gary Kind (JIRA)" <ad...@incubator.apache.org> on 2007/01/18 20:19:29 UTC

[jira] Created: (ADFFACES-360) org.apache.myfaces.trinidadinternal.renderkit.RenderKitTestCase: move call to _initGlobal to Constructor.

org.apache.myfaces.trinidadinternal.renderkit.RenderKitTestCase: move call to _initGlobal to Constructor.
---------------------------------------------------------------------------------------------------------

                 Key: ADFFACES-360
                 URL: https://issues.apache.org/jira/browse/ADFFACES-360
             Project: MyFaces ADF-Faces
          Issue Type: Bug
            Reporter: Gary Kind


Currently, the private method _initGlobal tries to get some system properties and is called from a static block.  This effectlively means that these system properties must be set before any junit tests that extend this class are run. If they are not set prior to running the junit test (in the environment), an NPE results. Putting the call to _initGlobal delays the getting of these system properties so that they can set in the extending class as a static block -- thus the system properties can be set either in the enviroment, prior to running the test, or in a static block in the extending class.

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

        

[jira] Updated: (ADFFACES-360) org.apache.myfaces.trinidadinternal.renderkit.RenderKitTestCase: move call to _initGlobal to Constructor.

Posted by "Gary Kind (JIRA)" <ad...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/ADFFACES-360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Kind updated ADFFACES-360:
-------------------------------

    Attachment: faces-1_2-070102.patch

> org.apache.myfaces.trinidadinternal.renderkit.RenderKitTestCase: move call to _initGlobal to Constructor.
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: ADFFACES-360
>                 URL: https://issues.apache.org/jira/browse/ADFFACES-360
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>            Reporter: Gary Kind
>         Attachments: faces-1_2-070102.patch
>
>
> Currently, the private method _initGlobal tries to get some system properties and is called from a static block.  This effectlively means that these system properties must be set before any junit tests that extend this class are run. If they are not set prior to running the junit test (in the environment), an NPE results. Putting the call to _initGlobal delays the getting of these system properties so that they can set in the extending class as a static block -- thus the system properties can be set either in the enviroment, prior to running the test, or in a static block in the extending class.

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

        

[jira] Resolved: (ADFFACES-360) org.apache.myfaces.trinidadinternal.renderkit.RenderKitTestCase: move call to _initGlobal to Constructor.

Posted by "Adam Winer (JIRA)" <ad...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/ADFFACES-360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Winer resolved ADFFACES-360.
---------------------------------

    Resolution: Fixed
      Assignee: Adam Winer

Checked in patch on trunk. 

> org.apache.myfaces.trinidadinternal.renderkit.RenderKitTestCase: move call to _initGlobal to Constructor.
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: ADFFACES-360
>                 URL: https://issues.apache.org/jira/browse/ADFFACES-360
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>            Reporter: Gary Kind
>         Assigned To: Adam Winer
>         Attachments: faces-1_2-070102.patch
>
>
> Currently, the private method _initGlobal tries to get some system properties and is called from a static block.  This effectlively means that these system properties must be set before any junit tests that extend this class are run. If they are not set prior to running the junit test (in the environment), an NPE results. Putting the call to _initGlobal in the constructor delays the getting of these system properties so that they can set in the extending class as a static block -- thus the system properties can be set either in the enviroment, prior to running the test, or in a static block in the extending class.

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


[jira] Updated: (ADFFACES-360) org.apache.myfaces.trinidadinternal.renderkit.RenderKitTestCase: move call to _initGlobal to Constructor.

Posted by "Gary Kind (JIRA)" <ad...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/ADFFACES-360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Kind updated ADFFACES-360:
-------------------------------

    Description: Currently, the private method _initGlobal tries to get some system properties and is called from a static block.  This effectlively means that these system properties must be set before any junit tests that extend this class are run. If they are not set prior to running the junit test (in the environment), an NPE results. Putting the call to _initGlobal in the constructor delays the getting of these system properties so that they can set in the extending class as a static block -- thus the system properties can be set either in the enviroment, prior to running the test, or in a static block in the extending class.  (was: Currently, the private method _initGlobal tries to get some system properties and is called from a static block.  This effectlively means that these system properties must be set before any junit tests that extend this class are run. If they are not set prior to running the junit test (in the environment), an NPE results. Putting the call to _initGlobal delays the getting of these system properties so that they can set in the extending class as a static block -- thus the system properties can be set either in the enviroment, prior to running the test, or in a static block in the extending class.)

> org.apache.myfaces.trinidadinternal.renderkit.RenderKitTestCase: move call to _initGlobal to Constructor.
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: ADFFACES-360
>                 URL: https://issues.apache.org/jira/browse/ADFFACES-360
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>            Reporter: Gary Kind
>         Attachments: faces-1_2-070102.patch
>
>
> Currently, the private method _initGlobal tries to get some system properties and is called from a static block.  This effectlively means that these system properties must be set before any junit tests that extend this class are run. If they are not set prior to running the junit test (in the environment), an NPE results. Putting the call to _initGlobal in the constructor delays the getting of these system properties so that they can set in the extending class as a static block -- thus the system properties can be set either in the enviroment, prior to running the test, or in a static block in the extending class.

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

       

[jira] Updated: (ADFFACES-360) org.apache.myfaces.trinidadinternal.renderkit.RenderKitTestCase: move call to _initGlobal to Constructor.

Posted by "Matthias Weßendorf (JIRA)" <ad...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/ADFFACES-360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Weßendorf updated ADFFACES-360:
----------------------------------------

        Fix Version/s: 1.0.0-incubating-core
    Affects Version/s: 1.0.0-incubating-core

> org.apache.myfaces.trinidadinternal.renderkit.RenderKitTestCase: move call to _initGlobal to Constructor.
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: ADFFACES-360
>                 URL: https://issues.apache.org/jira/browse/ADFFACES-360
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>    Affects Versions: 1.0.0-incubating-core
>            Reporter: Gary Kind
>         Assigned To: Adam Winer
>             Fix For: 1.0.0-incubating-core
>
>         Attachments: faces-1_2-070102.patch
>
>
> Currently, the private method _initGlobal tries to get some system properties and is called from a static block.  This effectlively means that these system properties must be set before any junit tests that extend this class are run. If they are not set prior to running the junit test (in the environment), an NPE results. Putting the call to _initGlobal in the constructor delays the getting of these system properties so that they can set in the extending class as a static block -- thus the system properties can be set either in the enviroment, prior to running the test, or in a static block in the extending class.

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