shale-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig McClanahan (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SHALE-249) Add "throws Exception" to signatures of setUp() and tearDown() in AbstractJsfTestCase
Date Thu, 10 Aug 2006 17:05:21 GMT
    [ http://issues.apache.org/struts/browse/SHALE-249?page=comments#action_37942 ] 
            
Craig McClanahan commented on SHALE-249:
----------------------------------------

Adding this would break existing test cases that don't already declare the throws clauses
on these two methods.  So, we should also consider other alternatives (perhaps something like
AbstractJsfTestCase2 that extends AbstradJsfTestCase and just adds these signature changes).


> Add "throws Exception" to signatures of setUp() and tearDown() in AbstractJsfTestCase
> -------------------------------------------------------------------------------------
>
>                 Key: SHALE-249
>                 URL: http://issues.apache.org/struts/browse/SHALE-249
>             Project: Shale
>          Issue Type: Improvement
>          Components: Test
>            Reporter: Craig McClanahan
>
> (From a discussion on the user mailing list <http://mail-archives.apache.org/mod_mbox/shale-user/200608.mbox/%3c4291B4B1A74DA74B8EB4F69433515F85068D2369@usahm233.amer.corp.eds.com%3e>)
> In JUnit 3.8.1, the TestCase base class declares "throws Exception" in its method signatures
for setUp() and tearDown(), but this is not the case on AbstractJsfTestCase.  Should be added
for consistency.

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

        

Mime
View raw message