You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2010/07/01 02:21:50 UTC

[jira] Created: (MYFACESTEST-18) Include in AbstractJsfTestCase and AbstractJmockTestCase protected methods for setup elements and allow better customization

Include in AbstractJsfTestCase and AbstractJmockTestCase protected methods for setup elements and allow better customization
----------------------------------------------------------------------------------------------------------------------------

                 Key: MYFACESTEST-18
                 URL: https://issues.apache.org/jira/browse/MYFACESTEST-18
             Project: MyFaces Test
          Issue Type: Task
          Components: Test suites
    Affects Versions: 1.0.0-SNAPSHOT
            Reporter: Leonardo Uribe
            Assignee: Leonardo Uribe


One thing it is painful with this api is that sometimes it is necessary to customize the setup of a test, but since there are no methods like:

protected void setUpServletObjects() throws Exception 
protected void setFactories() throws Exception 
......

it is often to copy and paste AbstractJsfTestCase and AbstractJmockTestCase to allow customization.


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


[jira] Resolved: (MYFACESTEST-18) Include in AbstractJsfTestCase and AbstractJmockTestCase protected methods for setup elements and allow better customization

Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/MYFACESTEST-18?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonardo Uribe resolved MYFACESTEST-18.
---------------------------------------

    Fix Version/s: 1.0.0-SNAPSHOT
       Resolution: Fixed

> Include in AbstractJsfTestCase and AbstractJmockTestCase protected methods for setup elements and allow better customization
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MYFACESTEST-18
>                 URL: https://issues.apache.org/jira/browse/MYFACESTEST-18
>             Project: MyFaces Test
>          Issue Type: Task
>          Components: Test suites
>    Affects Versions: 1.0.0-SNAPSHOT
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>             Fix For: 1.0.0-SNAPSHOT
>
>
> One thing it is painful with this api is that sometimes it is necessary to customize the setup of a test, but since there are no methods like:
> protected void setUpServletObjects() throws Exception 
> protected void setFactories() throws Exception 
> ......
> it is often to copy and paste AbstractJsfTestCase and AbstractJmockTestCase to allow customization.

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