harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Liang (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-3354) [classlib][test] Refactor test for java.io.NotActiveException's default constructor
Date Tue, 13 Mar 2007 09:56:09 GMT

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

Richard Liang resolved HARMONY-3354.
------------------------------------

    Resolution: Fixed

Hello Sean,

This patch has been applied at revision r517623 with minor modification. Thanks a lot for
this enhancement.

Best regards,
Richard

> [classlib][test] Refactor test for java.io.NotActiveException's default constructor
> -----------------------------------------------------------------------------------
>
>                 Key: HARMONY-3354
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3354
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>         Environment: Ubuntu
>            Reporter: Sean Qiu
>         Assigned To: Richard Liang
>            Priority: Minor
>         Attachments: patch.txt
>
>
> The test for NotActiveException's default constructor is the same as the one takes String
as it's parameter.
> So it , in fact, is not tested at all.
> Add the following test for the default constructor.
> >>>>>>>> Test >>>>>>>
>     public void test_Constructor() {
>         // Test for method java.io.NotActiveException()
>         try {
>             if (true) {
>                 throw new NotActiveException();
>             }
>             fail("Should throw NotActiveException.");
>         } catch (NotActiveException e) {
>             // Expected
>         }
>     }

-- 
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