You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2009/12/16 23:22:18 UTC

[jira] Created: (LANG-570) Do the test cases really still require main() and suite() methods?

Do the test cases really still require main() and suite() methods?
------------------------------------------------------------------

                 Key: LANG-570
                 URL: https://issues.apache.org/jira/browse/LANG-570
             Project: Commons Lang
          Issue Type: Improvement
          Components: General
            Reporter: Sebb
            Priority: Minor
             Fix For: 3.0


Do the test cases really still require main() and suite() methods?

Unless the suite is being used to sequence some tests, it's just unnecessary clutter.

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


[jira] Closed: (LANG-570) Do the test cases really still require main() and suite() methods?

Posted by "Sebb (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LANG-570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebb closed LANG-570.
---------------------

    Resolution: Fixed

URL: http://svn.apache.org/viewvc?rev=892118&view=rev
Log:
Remove unnecessary main() and suite() methods from tests
Also remove setUp() and tearDown() methods with no useful code.

> Do the test cases really still require main() and suite() methods?
> ------------------------------------------------------------------
>
>                 Key: LANG-570
>                 URL: https://issues.apache.org/jira/browse/LANG-570
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: General
>            Reporter: Sebb
>            Priority: Minor
>             Fix For: 3.0
>
>
> Do the test cases really still require main() and suite() methods?
> Unless the suite is being used to sequence some tests, it's just unnecessary clutter.

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


[jira] Commented: (LANG-570) Do the test cases really still require main() and suite() methods?

Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LANG-570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12791758#action_12791758 ] 

Henri Yandell commented on LANG-570:
------------------------------------

Not afaik. Also they don't need constructors or setUp/tearDown when empty. 

> Do the test cases really still require main() and suite() methods?
> ------------------------------------------------------------------
>
>                 Key: LANG-570
>                 URL: https://issues.apache.org/jira/browse/LANG-570
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: General
>            Reporter: Sebb
>            Priority: Minor
>             Fix For: 3.0
>
>
> Do the test cases really still require main() and suite() methods?
> Unless the suite is being used to sequence some tests, it's just unnecessary clutter.

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