You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Sean Qiu (JIRA)" <ji...@apache.org> on 2007/03/12 04:45:09 UTC
[jira] Created: (HARMONY-3353) [classlib][test] Refactor test for
java.io.FileNotFoundException's constructor
[classlib][test] Refactor test for java.io.FileNotFoundException's constructor
------------------------------------------------------------------------------
Key: HARMONY-3353
URL: https://issues.apache.org/jira/browse/HARMONY-3353
Project: Harmony
Issue Type: Improvement
Environment: Ubuntu
Reporter: Sean Qiu
The two tests for different constructor are the same.
Refactor the test for FileNotFoundException().
>>>>>>> Test >>>>>>>>
public void test_Constructor() {
// Test for method java.io.FileNotFoundException()
try {
if (true) {
throw new FileNotFoundException();
}
fail("Should throw FileNotFoundException");
} catch (java.io.FileNotFoundException e) {
// Expected
}
}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (HARMONY-3353) [classlib][test] Refactor test for
java.io.FileNotFoundException's constructor
Posted by "Sean Qiu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Qiu closed HARMONY-3353.
-----------------------------
> [classlib][test] Refactor test for java.io.FileNotFoundException's constructor
> ------------------------------------------------------------------------------
>
> Key: HARMONY-3353
> URL: https://issues.apache.org/jira/browse/HARMONY-3353
> Project: Harmony
> Issue Type: Improvement
> Components: Classlib
> Environment: Ubuntu
> Reporter: Sean Qiu
> Assignee: Richard Liang
> Attachments: luni-FileNotFountExceptionTest.patch
>
>
> The two tests for different constructor are the same.
> Refactor the test for FileNotFoundException().
> >>>>>>> Test >>>>>>>>
> public void test_Constructor() {
> // Test for method java.io.FileNotFoundException()
> try {
> if (true) {
> throw new FileNotFoundException();
> }
> fail("Should throw FileNotFoundException");
> } catch (java.io.FileNotFoundException e) {
> // Expected
> }
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-3353) [classlib][test] Refactor test for
java.io.FileNotFoundException's constructor
Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Varlamov updated HARMONY-3353:
-------------------------------------
Component/s: Classlib
> [classlib][test] Refactor test for java.io.FileNotFoundException's constructor
> ------------------------------------------------------------------------------
>
> Key: HARMONY-3353
> URL: https://issues.apache.org/jira/browse/HARMONY-3353
> Project: Harmony
> Issue Type: Improvement
> Components: Classlib
> Environment: Ubuntu
> Reporter: Sean Qiu
> Attachments: luni-FileNotFountExceptionTest.patch
>
>
> The two tests for different constructor are the same.
> Refactor the test for FileNotFoundException().
> >>>>>>> Test >>>>>>>>
> public void test_Constructor() {
> // Test for method java.io.FileNotFoundException()
> try {
> if (true) {
> throw new FileNotFoundException();
> }
> fail("Should throw FileNotFoundException");
> } catch (java.io.FileNotFoundException e) {
> // Expected
> }
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-3353) [classlib][test] Refactor test for
java.io.FileNotFoundException's constructor
Posted by "Sean Qiu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Qiu updated HARMONY-3353:
------------------------------
Attachment: luni-FileNotFountExceptionTest.patch
testcase for FileNotFountException
> [classlib][test] Refactor test for java.io.FileNotFoundException's constructor
> ------------------------------------------------------------------------------
>
> Key: HARMONY-3353
> URL: https://issues.apache.org/jira/browse/HARMONY-3353
> Project: Harmony
> Issue Type: Improvement
> Environment: Ubuntu
> Reporter: Sean Qiu
> Attachments: luni-FileNotFountExceptionTest.patch
>
>
> The two tests for different constructor are the same.
> Refactor the test for FileNotFoundException().
> >>>>>>> Test >>>>>>>>
> public void test_Constructor() {
> // Test for method java.io.FileNotFoundException()
> try {
> if (true) {
> throw new FileNotFoundException();
> }
> fail("Should throw FileNotFoundException");
> } catch (java.io.FileNotFoundException e) {
> // Expected
> }
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HARMONY-3353) [classlib][test] Refactor test for
java.io.FileNotFoundException's constructor
Posted by "Richard Liang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard Liang resolved HARMONY-3353.
------------------------------------
Resolution: Fixed
Hello Sean,
The patch has been committed at revision r517502 with minor modification. Thanks a lot for this enhancement.
Best regards,
Richard.
> [classlib][test] Refactor test for java.io.FileNotFoundException's constructor
> ------------------------------------------------------------------------------
>
> Key: HARMONY-3353
> URL: https://issues.apache.org/jira/browse/HARMONY-3353
> Project: Harmony
> Issue Type: Improvement
> Components: Classlib
> Environment: Ubuntu
> Reporter: Sean Qiu
> Assigned To: Richard Liang
> Attachments: luni-FileNotFountExceptionTest.patch
>
>
> The two tests for different constructor are the same.
> Refactor the test for FileNotFoundException().
> >>>>>>> Test >>>>>>>>
> public void test_Constructor() {
> // Test for method java.io.FileNotFoundException()
> try {
> if (true) {
> throw new FileNotFoundException();
> }
> fail("Should throw FileNotFoundException");
> } catch (java.io.FileNotFoundException e) {
> // Expected
> }
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HARMONY-3353) [classlib][test] Refactor test for
java.io.FileNotFoundException's constructor
Posted by "Richard Liang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard Liang reassigned HARMONY-3353:
--------------------------------------
Assignee: Richard Liang
> [classlib][test] Refactor test for java.io.FileNotFoundException's constructor
> ------------------------------------------------------------------------------
>
> Key: HARMONY-3353
> URL: https://issues.apache.org/jira/browse/HARMONY-3353
> Project: Harmony
> Issue Type: Improvement
> Components: Classlib
> Environment: Ubuntu
> Reporter: Sean Qiu
> Assigned To: Richard Liang
> Attachments: luni-FileNotFountExceptionTest.patch
>
>
> The two tests for different constructor are the same.
> Refactor the test for FileNotFoundException().
> >>>>>>> Test >>>>>>>>
> public void test_Constructor() {
> // Test for method java.io.FileNotFoundException()
> try {
> if (true) {
> throw new FileNotFoundException();
> }
> fail("Should throw FileNotFoundException");
> } catch (java.io.FileNotFoundException e) {
> // Expected
> }
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HARMONY-3353) [classlib][test] Refactor test for
java.io.FileNotFoundException's constructor
Posted by "Sean Qiu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480681 ]
Sean Qiu commented on HARMONY-3353:
-----------------------------------
It works fine.
Thank you, Richard.
> [classlib][test] Refactor test for java.io.FileNotFoundException's constructor
> ------------------------------------------------------------------------------
>
> Key: HARMONY-3353
> URL: https://issues.apache.org/jira/browse/HARMONY-3353
> Project: Harmony
> Issue Type: Improvement
> Components: Classlib
> Environment: Ubuntu
> Reporter: Sean Qiu
> Assigned To: Richard Liang
> Attachments: luni-FileNotFountExceptionTest.patch
>
>
> The two tests for different constructor are the same.
> Refactor the test for FileNotFoundException().
> >>>>>>> Test >>>>>>>>
> public void test_Constructor() {
> // Test for method java.io.FileNotFoundException()
> try {
> if (true) {
> throw new FileNotFoundException();
> }
> fail("Should throw FileNotFoundException");
> } catch (java.io.FileNotFoundException e) {
> // Expected
> }
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.